summaryrefslogtreecommitdiff
path: root/git-bisect.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2022-11-10 16:36:44 (GMT)
committerTaylor Blau <me@ttaylorr.com>2022-11-11 22:06:00 (GMT)
commitdf63421be927c689bbd9384d503768c0515063c4 (patch)
treeb8addd2e8ff78ecb73e0a452cd7fcff79d3551b0 /git-bisect.sh
parent5512376ae14b07bb3c71c3ea7b4a181dd0fb4172 (diff)
downloadgit-df63421be927c689bbd9384d503768c0515063c4.zip
git-df63421be927c689bbd9384d503768c0515063c4.tar.gz
git-df63421be927c689bbd9384d503768c0515063c4.tar.bz2
bisect--helper: handle states directly
In preparation for making `git bisect` a real built-in, let's prepare the `bisect--helper` built-in to handle `git bisect--helper good` and `git bisect--helper bad`, i.e. eliminate the need of `state` subcommand. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-xgit-bisect.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-bisect.sh b/git-bisect.sh
index dfce4b4..9f6c8cc 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -57,8 +57,6 @@ case "$#" in
case "$cmd" in
help)
git bisect -h ;;
- bad|good|new|old|"$TERM_BAD"|"$TERM_GOOD")
- git bisect--helper state "$cmd" "$@" ;;
log)
git bisect--helper log || exit ;;
*)