bisect: mention "view" as an alternative to "visualize"
Tweak a small number of files to mention "view" as an alternative to "visualize". Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Robert P. J. Day committed
Nov 12, 2017 at 04:30 UTC
dbc349bba0ddf118b0ec8404ec01014d49cecfd3
3 files changed
+9
-10
Documentation/git-bisect.txt
+6
-7
@@ -23,7 +23,7 @@ on the subcommand:
23
git bisect terms [--term-good | --term-bad]
24
git bisect skip [(<rev>|<range>)...]
25
git bisect reset [<commit>]
26
- git bisect visualize
26
+ git bisect (visualize|view)
27
git bisect replay <logfile>
28
git bisect log
29
git bisect run <cmd>...
@@ -193,24 +193,23 @@ git bisect start --term-new fixed --term-old broken
193
Then, use `git bisect <term-old>` and `git bisect <term-new>` instead
194
of `git bisect good` and `git bisect bad` to mark commits.
195
196
-Bisect visualize
197
-~~~~~~~~~~~~~~~~
196
+Bisect visualize/view
197
+~~~~~~~~~~~~~~~~~~~~~
198
199
To see the currently remaining suspects in 'gitk', issue the following
200
-command during the bisection process:
200
+command during the bisection process (the subcommand `view` can be used
201
+as an alternative to `visualize`):
202
203
------------
204
$ git bisect visualize
205
------------
206
206
-`view` may also be used as a synonym for `visualize`.
207
-
207
If the `DISPLAY` environment variable is not set, 'git log' is used
208
instead. You can also give command-line options such as `-p` and
209
`--stat`.
210
211
------------
213
-$ git bisect view --stat
212
+$ git bisect visualize --stat
213
------------
214
215
Bisect log and bisect replay
builtin/bisect--helper.c
+1
-1
@@ -46,7 +46,7 @@ static int check_term_format(const char *term, const char *orig_term)
46
return error(_("'%s' is not a valid term"), term);
47
48
if (one_of(term, "help", "start", "skip", "next", "reset",
49
- "visualize", "replay", "log", "run", "terms", NULL))
49
+ "visualize", "view", "replay", "log", "run", "terms", NULL))
50
return error(_("can't use the builtin command '%s' as a term"), term);
51
52
/*
git-bisect.sh
+2
-2
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
3
-USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|replay|log|run]'
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-{old,good}=<term> --term-{new,bad}=<term>]
@@ -20,7 +20,7 @@ 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
23
+git bisect (visualize|view)
24
show bisect status in gitk.
25
git bisect replay <logfile>
26
replay bisection log.