From: Ævar Arnfjörð Bjarmason Date: Tue, 15 Nov 2022 09:32:42 +0000 (+0100) Subject: bisect; remove unused "git-bisect.sh" and ".gitignore" entry X-Git-Tag: v2.40.0-rc0~160^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=049141dce971bdbb85b3c6d12aae7254e7ddbe68;p=thirdparty%2Fgit.git bisect; remove unused "git-bisect.sh" and ".gitignore" entry Since 73fce29427 (Turn `git bisect` into a full built-in, 2022-11-10) we've used builtin/bisect.c instead of git-bisect.sh to implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built since 73fce29427. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Taylor Blau --- diff --git a/.gitignore b/.gitignore index cb0231fb40..fe234cfa19 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,6 @@ /git-archimport /git-archive /git-bisect -/git-bisect--helper /git-blame /git-branch /git-bugreport diff --git a/git-bisect.sh b/git-bisect.sh deleted file mode 100755 index f95b8103a9..0000000000 --- a/git-bisect.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|view|replay|log|run]' -LONG_USAGE='git bisect help - print this long help message. -git bisect start [--term-{new,bad}= --term-{old,good}=] - [--no-checkout] [--first-parent] [ [...]] [--] [...] - reset bisect state and start bisection. -git bisect (bad|new) [] - mark a known-bad revision/ - a revision after change in a given property. -git bisect (good|old) [...] - mark ... known-good revisions/ - revisions before change in a given property. -git bisect terms [--term-good | --term-bad] - show the terms used for old and new commits (default: bad, good) -git bisect skip [(|)...] - mark ... untestable revisions. -git bisect next - find next bisection to test and check it out. -git bisect reset [] - finish bisection search and go back to commit. -git bisect (visualize|view) - show bisect status in gitk. -git bisect replay - replay bisection log. -git bisect log - show bisect log. -git bisect run ... - use ... to automatically bisect. - -Please use "git help bisect" to get the full man page.' - -OPTIONS_SPEC= -. git-sh-setup - -TERM_BAD=bad -TERM_GOOD=good - -get_terms () { - if test -s "$GIT_DIR/BISECT_TERMS" - then - { - read TERM_BAD - read TERM_GOOD - } <"$GIT_DIR/BISECT_TERMS" - fi -} - -case "$#" in -0) - usage ;; -*) - cmd="$1" - get_terms - shift - case "$cmd" in - help) - git bisect -h ;; - *) - git bisect--helper "$cmd" "$@" ;; - esac -esac