diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2015-06-29 17:40:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:42:43 -0700 |
commit | 06e6a745064c4f2f827177f6d92f4b9adb018200 (patch) | |
tree | 0a51b67594c0ab8dbf54000303dd306eaa94ce80 /alias.c | |
parent | 21b55e33695f47f3e2616d178ab1e06743bfef66 (diff) | |
download | git-06e6a745064c4f2f827177f6d92f4b9adb018200.tar.gz |
bisect: allow setting any user-specified in 'git bisect start'
This allows a natural user-interface when looking for any change in the
code, not just regression. For example:
git bisect start --term-old fast --term-new slow
git bisect fast
git bisect slow
...
There were several proposed user-interfaces for this feature. This patch
implements it as options to 'git bisect start' for the following reasons:
* By construction, the terms will be valid for one and only one
bisection.
* Unlike positional arguments, using named options avoid having to
remember an order.
* We can combine user-defined terms and passing old/new commits as
argument to "git bisect start".
* The implementation is relatively simple.
See previous discussions:
http://mid.gmane.org/1435337896-20709-3-git-send-email-Matthieu.Moy@imag.fr
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions