git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] bisect: document "terms" subcommand more fully

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 7, 2024, 21:44 UTC
Message-ID
<20240207214436.538586-2-gitster@pobox.com>
In-Reply-To
<20240207214436.538586-1-gitster@pobox.com>

The documentation for "git bisect terms", although it did not hide any information, was a bit incomplete and forced readers to fill in the blanks to get the complete picture.

Acked-by: Matthieu Moy <git@matthieu-moy.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-bisect.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt
index fbb39fbdf5..3d813f9c77 100644
--- a/Documentation/git-bisect.txt
+++ b/Documentation/git-bisect.txt
@@ -20,7 +20,7 @@ on the subcommand:
 		  [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]
  git bisect (bad|new|<term-new>) [<rev>]
  git bisect (good|old|<term-old>) [<rev>...]
- git bisect terms [--term-good | --term-bad]
+ git bisect terms [--term-(good|old) | --term-(bad|new)]
  git bisect skip [(<rev>|<range>)...]
  git bisect reset [<commit>]
  git bisect (visualize|view)
@@ -165,8 +165,10 @@ To get a reminder of the currently used terms, use
 git bisect terms
 ------------------------------------------------
 
-You can get just the old (respectively new) term with `git bisect terms
---term-old` or `git bisect terms --term-good`.
+You can get just the old term with `git bisect terms --term-old`
+or `git bisect terms --term-good`; `git bisect terms --term-new`
+and `git bisect terms --term-bad` can be used to learn how to call
+the commits more recent than the sought change.
 
 If you would like to use your own terms instead of "bad"/"good" or
 "new"/"old", you can choose any names you like (except existing bisect
-- 
2.43.0-561-g235986be82
Previous: Junio C HamanoNext: Kristoffer Haugsbakk
Message 6 of 11 in “[BUG] git-bisect man page description of terms command doesn't mention old/new support”
  1. Britton KerinDec 9, 2023
  2. Re* [BUG] git-bisect man page description of terms command doesn't mention old/new supportJunio C Hamano, Dec 9, 2023
  3. Matthieu MoyDec 11, 2023
  4. Junio C HamanoDec 11, 2023
  5. 0/2 minute "git bisect" doc updatesJunio C Hamano, Feb 7, 2024
  6. 1/2 bisect: document "terms" subcommand more fullyJunio C Hamano, Feb 7, 2024
  7. Kristoffer HaugsbakkFeb 8, 2024
  8. Junio C HamanoFeb 8, 2024
  9. 2/2 bisect: document command line arguments for "bisect start"Junio C Hamano, Feb 7, 2024
  10. Jean-Noël AvilaFeb 8, 2024
  11. Christian CouderFeb 9, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.