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

Re: [PATCH] bisect: mention "view" as an alternative to "visualize"

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Nov 10, 2017, 21:13 UTC
Message-ID
<alpine.LFD.2.21.1711101609240.6187@localhost.localdomain>
In-Reply-To
<CAPig+cRtpmtD8XqhdXrn1iWOEf9Yx=TXQB=yvXBZ+uR_+XRcPg@mail.gmail.com>
On Fri, 10 Nov 2017, Eric Sunshine wrote:
Show 8 quoted lines
> Thanks for the patch. Some comments below...
>
> On Fri, Nov 10, 2017 at 11:32 AM, Robert P. J. Day
> <rpjday@crashcourse.ca> wrote:
> > Tweak a number of files to mention "view" as an alternative to
> > "visualize":
>
> You probably want to end this sentence with a period, not a colon.
  not sure about that, what's the standard when you're introducing a
code snippet?
Show 9 quoted lines
> >  Documentation/git-bisect.txt           | 9 ++++-----
> >  Documentation/user-manual.txt          | 3 ++-
> >  builtin/bisect--helper.c               | 2 +-
> >  contrib/completion/git-completion.bash | 2 +-
> >  git-bisect.sh                          | 4 ++--
> >  5 files changed, 10 insertions(+), 10 deletions(-)
>
> The diffstat belongs below the "---" separator, otherwise this text
> will (undesirably) become part of the commit message proper.
  no, i actually want that as part of the commit message. my standard
is, if there are 5 or more files that get changed, i like to include a
diff --stat in the commit message so people viewing the log can get a
quick idea of how much has changed. if that's not desired here, i can
remove it.
Show 6 quoted lines
> > + git bisect visualize|view
>
> I think you need parentheses around these terms (see "git bisect
> skip", for example):
>
>     git bisect (visualize | view)
  ah, quite so.
Show 8 quoted lines
> However, in this case, it might be easier for readers if each is
> presented on its own line (and subsequent discussion can make it clear
> that they are synonyms).
>
>     git bisect visualize
>     git bisect view
>
> But, that's a matter of taste...
  given the precedent already established:
   git bisect (bad|new|<term-new>) [<rev>]
   git bisect (good|old|<term-old>) [<rev>...]

i'll go with the parentheses and no intervening spaces. i'll let that posting simmer for a bit longer before posting "v2".

rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Previous: Eric SunshineNext: Eric Sunshine
Message 3 of 4 in “bisect: mention "view" as an alternative to "visualize"”
  1. bisect: mention "view" as an alternative to "visualize"Robert P. J. Day, Nov 10, 2017
  2. Eric SunshineNov 10, 2017
  3. Robert P. J. DayNov 10, 2017
  4. Eric SunshineNov 10, 2017

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.