summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2015-06-29 17:40:35 +0200
committerJunio C Hamano <gitster@pobox.com>2015-08-03 11:42:43 -0700
commit06e6a745064c4f2f827177f6d92f4b9adb018200 (patch)
tree0a51b67594c0ab8dbf54000303dd306eaa94ce80 /bisect.c
parent21b55e33695f47f3e2616d178ab1e06743bfef66 (diff)
downloadgit-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 'bisect.c')
0 files changed, 0 insertions, 0 deletions