{"thread":{"id":"13104","subject":"[PATCH 3/2] bisect: add \"stop\", \"show\" and \"restart\" as synonyms for other commands","startedAt":"2008-04-14T04:16:27Z","lastAt":"2008-04-14T23:23:36Z","messageCount":2,"participants":["Christian Couder","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"74303","messageId":"20080414061627.62119f74.chriscool@tuxfamily.org","threadId":"13104","inReplyTo":null,"subject":"[PATCH 3/2] bisect: add \"stop\", \"show\" and \"restart\" as synonyms for other commands","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2008-04-14T04:16:27Z","receivedAt":"2008-04-14T04:16:27Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"This patch adds the following synonyms:\n\n\t- \"show\" for \"visualize\",\n\t- \"stop\" for \"reset\",\n\t- \"restart\" for \"start\",\n\nas suggested by Ingo Molnar.\n\nNote that \"view\" already exists as a synonym for \"visualize\".\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n Documentation/git-bisect.txt |   14 ++++++++++----\n git-bisect.sh                |    6 +++---\n 2 files changed, 13 insertions(+), 7 deletions(-)\n\ndiff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt\nindex 698ffde..2c774a3 100644\n--- a/Documentation/git-bisect.txt\n+++ b/Documentation/git-bisect.txt\n@@ -86,9 +86,13 @@ $ git bisect reset\n ------------------------------------------------\n \n to get back to the master branch, instead of being in one of the\n-bisection branches (\"git bisect start\" will do that for you too,\n-actually: it will reset the bisection state, and before it does that\n-it checks that you're not using some old bisection branch).\n+bisection branches.\n+\n+\"git bisect start\" will do that for you too. Actually, it will reset\n+the bisection state, and before it does that, it checks that you're not\n+using some old bisection branch.\n+\n+`stop` is provided as a synonym for `reset`.\n \n Bisect visualize\n ~~~~~~~~~~~~~~~~\n@@ -100,7 +104,7 @@ $ git bisect visualize\n ------------\n \n to see the currently remaining suspects in `gitk`.  `visualize` is a bit\n-too long to type and `view` is provided as a synonym.\n+too long to type, so `view` and `show` are provided as synonyms.\n \n If `DISPLAY` environment variable is not set, `git log` is used\n instead.  You can even give command line options such as `-p` and\n@@ -187,6 +191,8 @@ $ git bisect start v2.6.20-rc6 v2.6.20-rc4 v2.6.20-rc1 --\n                    # v2.6.20-rc4 and v2.6.20-rc1 are good\n ------------\n \n+`restart` is provided as a synonym for `start`.\n+\n Bisect run\n ~~~~~~~~~~\n \ndiff --git a/git-bisect.sh b/git-bisect.sh\nindex a090b97..78d011a 100755\n--- a/git-bisect.sh\n+++ b/git-bisect.sh\n@@ -492,16 +492,16 @@ case \"$#\" in\n     case \"$cmd\" in\n     help)\n         git bisect -h ;;\n-    start)\n+    start|restart)\n         bisect_start \"$@\" ;;\n     bad|good|skip)\n         bisect_state \"$cmd\" \"$@\" ;;\n     next)\n         # Not sure we want \"next\" at the UI level anymore.\n         bisect_next \"$@\" ;;\n-    visualize|view)\n+    visualize|view|show)\n \tbisect_visualize \"$@\" ;;\n-    reset)\n+    reset|stop)\n         bisect_reset \"$@\" ;;\n     replay)\n \tbisect_replay \"$@\" ;;\n-- \n1.5.5.50.ge6e82.dirty\n"},{"id":"74386","messageId":"7vej9881hj.fsf@gitster.siamese.dyndns.org","threadId":"13104","inReplyTo":"20080414061627.62119f74.chriscool@tuxfamily.org","subject":"Re: [PATCH 3/2] bisect: add \"stop\", \"show\" and \"restart\" as synonyms for other commands","fromName":"Junio C Hamano","fromEmail":"junio@pobox.com","sentAt":"2008-04-14T23:23:36Z","receivedAt":"2008-04-14T23:23:36Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Christian Couder <chriscool@tuxfamily.org> writes:\n\n> This patch adds the following synonyms:\n>\n> \t- \"show\" for \"visualize\",\n> \t- \"stop\" for \"reset\",\n> \t- \"restart\" for \"start\",\n>\n> as suggested by Ingo Molnar.\n\nHmmm.  I sympathize with \"show\", only because there are other places we\nalready use \"show\" and also \"visualize\" is too long to type, but \"stop\"\nand \"restart\"?\n"}]}