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

Re: [PATCH] bisect: revise manpage

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 26, 2015, 17:54 UTC
Message-ID
<xmqq8ub6uzhq.fsf@gitster.dls.corp.google.com>
In-Reply-To
<558D67FD.2000607@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 10 quoted lines
> By the way, when I was revising the text two things occurred to me that
> have probably been discussed to death elsewhere but let me mention them
> anyway:
>
> 1. I found it confusing that `git bisect terms` lists its arguments in
> the order `<term-new> <term-old>`. I think that listing them in
> "chronological" order would have been a lot more intuitive. But I expect
> this choice was made because `git bisect start` takes optional arguments
> in that order, so the inconsistency might be worse than the backwardness
> of this single command's arguments.

Consistency with 'start' is truly a good motivaition. And 'start' asking for 'bad' first is not backwardness but comes primarily from syntactic need. You need one and only one 'bad' and can give zero or more 'good' to the command, so "start bad [good...]" becomes a more natural way than "start [good...] bad" to form a command line.

Show 5 quoted lines
> 2. When I was describing "old/new", I kept wishing that I could type
> "before/after" instead, because those terms seemed to agree better with
> the prose description of what "old/new" mean. I wonder if "before/after"
> might be better names for commits determined to be before/after the
> change being sought?

Yeah, I like that, but I do not think replacing 'old/new' with 'before/after' is worth the trouble. Both would work equally well at least for me.

Previous: Matthieu Moy
Message 13 of 13 in “bisect: revise manpage”
  1. bisect: revise manpageMichael Haggerty, Jun 26, 2015
  2. Christian CouderJun 26, 2015
  3. Matthieu MoyJun 26, 2015
  4. Christian CouderJun 26, 2015
  5. Michael HaggertyJun 26, 2015
  6. Christian CouderJun 26, 2015
  7. Matthieu MoyJun 26, 2015
  8. Junio C HamanoJun 26, 2015
  9. 3/7 Documentation/bisect: revise overall contentMatthieu Moy, Jun 26, 2015
  10. Matthieu MoyJun 26, 2015
  11. Michael HaggertyJun 26, 2015
  12. Matthieu MoyJun 26, 2015
  13. Junio C HamanoJun 26, 2015

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.