| commit | 9f21e97ddccf114a6919cf4b8cf57c2838328f36 | [log] [tgz] |
|---|---|---|
| author | Nanako Shiraishi <nanako3@lavabit.com> | Thu Jan 07 20:05:02 2010 +0900 |
| committer | Junio C Hamano <gitster@pobox.com> | Thu Jan 07 11:14:39 2010 -0800 |
| tree | 6096cbd783e73d10ca772012fef8289bce72f22c | |
| parent | 61dfa1bb6710690e53fa20bc3ddd1f5fbe8c1d22 [diff] |
rebase: fix --onto A...B parsing and add tests The previous patch didn't parse "rebase --onto A...B" correctly when A isn't an empty string. It also tried to be careful to notice a case in which there are more than one merge bases, but forgot to give --all option to merge-base, making the test pointless. Fix these problems and add a test script to verify. Improvements to the script to parse A...B syntax was taken from review comments by Johannes Schindelin. Signed-off-by: しらいし ななこ <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>