Support range operator in revision range (log and rev-list)

This commit is contained in:
David Nelson 2019-04-22 13:11:52 -05:00
parent 9b4b6627b6
commit 44e7596381
2 changed files with 25 additions and 0 deletions

View file

@ -317,6 +317,18 @@ describe('Git', function() {
expect(commandMsg).toBe('C6\n');
});
});
it('range between branches', function() {
runCommand(SETUP + 'git rev-list left..right', function(commandMsg) {
expect(commandMsg).toBe('C5\nC4\n');
});
});
it('range between commits', function() {
runCommand(SETUP + 'git rev-list C3..C5', function(commandMsg) {
expect(commandMsg).toBe('C5\nC4\n');
});
});
});
});