Commit graph

215 commits

Author SHA1 Message Date
Peter Cottle
278004f957 Issue #660 -- fix non-deterministic ordering of commits 2020-03-29 17:05:57 -07:00
Lukas Schmid
b281d1d76c Added support for git tag -d <tag> and fixed a bug where a duplicate tag name wouldn't show in the error-msg 2019-09-04 16:47:24 +02:00
David Nelson
44e7596381 Support range operator in revision range (log and rev-list) 2019-04-22 15:51:34 -05:00
David Nelson
9b4b6627b6 Convert revision range processing to pipeline model 2019-04-22 15:12:00 -05:00
Peter Cottle
06e0f29acf
Merge pull request #565 from eatdrinksleepcode/revision-range
More robust support for revision ranges
2019-04-21 12:57:44 -07:00
David Nelson
b9f8e19162 Implement log using RevisionRange
This changes the implementation of the "log" command to use the RevisionRange
functionality. RevisionRange sorts the results in order of reverse create time,
to match real git. This is a change from the previous implementation of log,
which essentially produced a breadth-first ordering.
2019-04-19 01:58:53 -05:00
David Nelson
8529a3aac7 Implement rev-list
This commit introduces the RevisionRange, which more closely follows real git
in terms of identifying a range of revisions than the current implementation of
log. RevisionRange is being used in the new rev-list command first because it
is easy to test for ordering. A future commit will replace the existing
implementation of log with RevisionRange.
2019-04-19 01:58:34 -05:00
David Nelson
d4a2fbb2de Explicitly fail when unsupported range operator is specified 2019-04-18 14:54:18 -05:00
Hongarc
27ef578b2e Remove 16 underscore requires 2018-12-01 13:04:24 +07:00
Hongarc
96ddb5041a Use 'Object.values' and 'Object.keys' instead of '_.each(object)' 2018-12-01 12:34:23 +07:00
Hongarc
bd8009386d Use 'Array.prototype.forEach' instead of '_.each' and '_.forEach' 2018-12-01 11:28:04 +07:00
Hongarc
d87fd095c0 Use 'Object.values' and 'Object.keys' to get list 'keys' and 'values' 2018-12-01 08:51:03 +07:00
Hongarc
dddf063146 Replace '_.filter' to 'Array.prototype.filter' 2018-12-01 08:27:01 +07:00
Hongarc
7af2db3da5 Replace '_.map' to 'Array.prototype.map' 2018-12-01 08:20:42 +07:00
Hongarc
0134bf9870 Replace some '_.each' with 'Array.prototype.forEach' 2018-12-01 08:05:27 +07:00
Hongarc
489a4b9095 change '_.clone(..args)' to 'Object.assign({}, ..args)' 2018-12-01 06:37:25 +07:00
Hongarc
052aa1e299 change '_.extend' to 'Object.assign' 2018-12-01 06:07:06 +07:00
Hongarc
41bb6d1bd7 Fix more typo, ' and some word 2018-11-30 22:11:38 +07:00
Hongarc
694f414e22 Fixed typos in comments and strings 2018-11-29 01:38:01 +07:00
Peter Cottle
0e61b0ce5f handle the ' too 2018-09-28 20:35:53 -05:00
Peter Cottle
e8d3bf8667 Resolves #483 case sensitivity 2018-09-28 20:30:06 -05:00
Peter Cottle
4c0e7df9fc do it for the other method too 2018-04-09 08:37:05 -07:00
Peter Cottle
b6a34ec17e Resolves #459 -- parent ordering can break some operations 2018-04-09 08:35:15 -07:00
Peter Cottle
789e2efda1 Resolves #435 -- pushing tags 2017-07-30 14:28:50 -07:00
Peter Cottle
8f3f32d82b Resolves #400 -- rebase --pull with just fast forward 2016-12-04 10:17:15 -08:00
Peter Cottle
32c80bdb87 Resolves #201 -- allow dashes and slashes in branch names 2016-09-25 13:49:46 -07:00
Peter Cottle
854b5d44b0 Resolves #362 allow deleting commits with push force 2016-02-29 09:27:23 -08:00
Peter Cottle
2257668f9d got rid of every underscore bind i think -- 1500 line diff 2015-04-20 16:41:56 +10:00
Peter Cottle
b3cf8263a2 removed all horrible hack references 2015-04-04 11:24:49 -07:00
Peter Cottle
0456426949 fix typo in comment so i dont say ammend again. Issue #233 PR #234 2015-01-08 19:06:22 -08:00
Peter Cottle
7fc33541cc [FeatureRequest] git push --force beta Resolves #185 2014-11-29 17:34:37 -08:00
Peter Cottle
2f62817dff Issue #223 micro-optimization and test coverage 2014-11-29 16:38:09 -08:00
Peter Cottle
7b687ab6da [TargetSetDifference] Sort commits by dependencies Resolves #223 2014-11-29 16:34:57 -08:00
Peter Cottle
bf6a84dd1d [Fun] Issue #202 -- more fun when finishing! 2014-08-19 19:26:41 -07:00
Peter Cottle
2997891874 PR #196 whoops one more, double reverse = bad 2014-08-13 19:26:20 -07:00
Peter Cottle
90c39417bb PR #196 code cleanup and solution description rather than reordering 2014-08-13 19:22:45 -07:00
Patrick
00cc6349d0 Added extra flag to interactive rebase which accepts a list of commits (ordering counts). This list will then be shown to the user when the rebase dialog shows up when showing a solution that does an interactive rebase. This is so the user doesn't have to guess about what commits were picked and how they were ordered for the solution 2014-07-26 15:22:26 -04:00
Peter Cottle
2423646199 PR #195 bit of style cleanup and error handling and test for error handling 2014-07-26 21:40:45 +08:00
Patrick
72cc7d6bd3 Added testable interactive rebase. It doesn't fully test everything (mainly the GUI), but is a start 2014-07-24 17:43:59 -04:00
Peter Cottle
ecd848625b Resolves #184 interactive rebase upstream check 2014-06-30 20:50:01 -07:00
Peter Cottle
d01f1806b4 Issue #179 consolidate rebase -i and rebase codepaths 2014-06-29 15:57:44 -07:00
Peter Cottle
43579378e8 Resolves #164 case insensitive branch comparison with test and validation 2014-02-27 12:11:48 -08:00
Peter Cottle
0be3577572 Resolves #160 handle case where the rebase is empty and theres nothing to do during git pull --rebase 2014-02-12 14:20:09 -08:00
Peter Cottle
e7d9b76b98 moved another function to graph 2013-12-23 10:15:16 -08:00
Peter Cottle
d27e28b109 describe level Resolves #144 Wooooo 2013-11-05 09:13:16 -08:00
Peter Cottle
c3f0f48f28 Issue #144 describe support for command 2013-11-04 18:39:51 -08:00
Peter Cottle
625c15d51e now with errors 2013-11-01 18:48:13 -07:00
Peter Cottle
9fbe654cb2 got tags making commits not faded out or orphaned anymore 2013-11-01 10:01:13 -07:00
Peter Cottle
f9f9d98628 think moving method worked 2013-10-29 20:53:19 -07:00
Peter Cottle
88d5902956 vistag now working in tests 2013-10-29 19:35:23 -07:00