From: Christian Couder <chriscool@tuxfamily.org>
To: Junio Hamano <junkio@cox.net>, Ingo Molnar <mingo@elte.hu>
Cc: git@vger.kernel.org
Subject: [PATCH 3/2] bisect: add "stop", "show" and "restart" as synonyms for other commands
Date: Mon, 14 Apr 2008 06:16:27 +0200 [thread overview]
Message-ID: <20080414061627.62119f74.chriscool@tuxfamily.org> (raw)
This patch adds the following synonyms:
- "show" for "visualize",
- "stop" for "reset",
- "restart" for "start",
as suggested by Ingo Molnar.
Note that "view" already exists as a synonym for "visualize".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
Documentation/git-bisect.txt | 14 ++++++++++----
git-bisect.sh | 6 +++---
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
index 698ffde..2c774a3 100644
--- a/Documentation/git-bisect.txt
+++ b/Documentation/git-bisect.txt
@@ -86,9 +86,13 @@ $ git bisect reset
------------------------------------------------
to get back to the master branch, instead of being in one of the
-bisection branches ("git bisect start" will do that for you too,
-actually: it will reset the bisection state, and before it does that
-it checks that you're not using some old bisection branch).
+bisection branches.
+
+"git bisect start" will do that for you too. Actually, it will reset
+the bisection state, and before it does that, it checks that you're not
+using some old bisection branch.
+
+`stop` is provided as a synonym for `reset`.
Bisect visualize
~~~~~~~~~~~~~~~~
@@ -100,7 +104,7 @@ $ git bisect visualize
------------
to see the currently remaining suspects in `gitk`. `visualize` is a bit
-too long to type and `view` is provided as a synonym.
+too long to type, so `view` and `show` are provided as synonyms.
If `DISPLAY` environment variable is not set, `git log` is used
instead. You can even give command line options such as `-p` and
@@ -187,6 +191,8 @@ $ git bisect start v2.6.20-rc6 v2.6.20-rc4 v2.6.20-rc1 --
# v2.6.20-rc4 and v2.6.20-rc1 are good
------------
+`restart` is provided as a synonym for `start`.
+
Bisect run
~~~~~~~~~~
diff --git a/git-bisect.sh b/git-bisect.sh
index a090b97..78d011a 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -492,16 +492,16 @@ case "$#" in
case "$cmd" in
help)
git bisect -h ;;
- start)
+ start|restart)
bisect_start "$@" ;;
bad|good|skip)
bisect_state "$cmd" "$@" ;;
next)
# Not sure we want "next" at the UI level anymore.
bisect_next "$@" ;;
- visualize|view)
+ visualize|view|show)
bisect_visualize "$@" ;;
- reset)
+ reset|stop)
bisect_reset "$@" ;;
replay)
bisect_replay "$@" ;;
--
1.5.5.50.ge6e82.dirty
next reply other threads:[~2008-04-14 4:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-14 4:16 Christian Couder [this message]
2008-04-14 23:23 ` [PATCH 3/2] bisect: add "stop", "show" and "restart" as synonyms for other commands Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080414061627.62119f74.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).