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 <avarab@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Ævar Arnfjörð Bjarmason committed
Nov 15, 2022 at 10:32 UTC
049141dce971bdbb85b3c6d12aae7254e7ddbe68
2 files changed
-64
.gitignore
-1
@@ -20,7 +20,6 @@
20
/git-archimport
21
/git-archive
22
/git-bisect
23
-/git-bisect--helper
23
/git-blame
24
/git-branch
25
/git-bugreport
git-bisect.sh
deleted
-63
@@ -1,63 +0,0 @@
1
-#!/bin/sh
2
-
3
-USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|view|replay|log|run]'
4
-LONG_USAGE='git bisect help
5
- print this long help message.
6
-git bisect start [--term-{new,bad}=<term> --term-{old,good}=<term>]
7
- [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<pathspec>...]
8
- reset bisect state and start bisection.
9
-git bisect (bad|new) [<rev>]
10
- mark <rev> a known-bad revision/
11
- a revision after change in a given property.
12
-git bisect (good|old) [<rev>...]
13
- mark <rev>... known-good revisions/
14
- revisions before change in a given property.
15
-git bisect terms [--term-good | --term-bad]
16
- show the terms used for old and new commits (default: bad, good)
17
-git bisect skip [(<rev>|<range>)...]
18
- mark <rev>... untestable revisions.
19
-git bisect next
20
- find next bisection to test and check it out.
21
-git bisect reset [<commit>]
22
- finish bisection search and go back to commit.
23
-git bisect (visualize|view)
24
- show bisect status in gitk.
25
-git bisect replay <logfile>
26
- replay bisection log.
27
-git bisect log
28
- show bisect log.
29
-git bisect run <cmd>...
30
- use <cmd>... to automatically bisect.
31
-
32
-Please use "git help bisect" to get the full man page.'
33
-
34
-OPTIONS_SPEC=
35
-. git-sh-setup
36
-
37
-TERM_BAD=bad
38
-TERM_GOOD=good
39
-
40
-get_terms () {
41
- if test -s "$GIT_DIR/BISECT_TERMS"
42
- then
43
- {
44
- read TERM_BAD
45
- read TERM_GOOD
46
- } <"$GIT_DIR/BISECT_TERMS"
47
- fi
48
-}
49
-
50
-case "$#" in
51
-0)
52
- usage ;;
53
-*)
54
- cmd="$1"
55
- get_terms
56
- shift
57
- case "$cmd" in
58
- help)
59
- git bisect -h ;;
60
- *)
61
- git bisect--helper "$cmd" "$@" ;;
62
- esac
63
-esac