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
6e5d6a64e9
Add tests for currently supported log arguments
2019-04-19 01:57:58 -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
e17d974b55
Use 'util/escapeString' instead of _.escape
2018-12-01 08:40:56 +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
Waldir Pimenta
bfb0e9aaa8
commands.js: add --all alias to the -a option
2018-07-10 21:59:53 +01:00
Waldir Pimenta
faf939d210
commands.js: add --force alias to the -f option
...
modeled after the current implementation of branch -d / branch -D
2018-07-07 18:23:47 +01:00
Peter Cottle
745c10c85a
Resolves #469 bug in arg parsing
2018-06-16 16:37:20 -07: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
Oleksandr Redko
5a784ae15e
Fixed typos in comments and strings
2016-10-26 12:19:24 +03:00
Peter Cottle
32c80bdb87
Resolves #201 -- allow dashes and slashes in branch names
2016-09-25 13:49:46 -07:00
Peter Cottle
02a69e85c0
Resolves #385 -- validate no amend options
2016-07-31 16:06:05 -07:00
Peter Cottle
d302887fd1
Resolves #381 -- better validation of args for git fakeTeamwork
2016-07-06 21:18:32 -07:00
Peter Cottle
854b5d44b0
Resolves #362 allow deleting commits with push force
2016-02-29 09:27:23 -08:00
Peter Cottle
f048f99e7f
temporary UNSTABLE since codemod went nuts
2015-04-20 17:05:21 +10: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
Patrick Tully
55ac6da589
Changed checkout -B to set the branch to point at the specified commit rather than always using HEAD
2014-07-20 12:36:37 -04:00
Patrick Tully
dd58afde76
Changed interactive rebase to rebase the target branch if specified
2014-07-20 12:36:27 -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
f952bd7061
Resolves #154 input escaping issue when accessing remote branch locally to push remote, fixed others too
2014-01-06 10:04:03 -08:00
Peter Cottle
17fda94aff
Better helper bar with float and more room for options
2013-12-30 10:23:58 -08:00