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

Re: [PATCH] git-difftool: allow skipping file by typing 'n' at prompt

From
Jeff King <peff@peff.net>
Date
Oct 4, 2011, 17:49 UTC
Message-ID
<20111004174937.GA31671@sigill.intra.peff.net>
In-Reply-To
<7vbotwdbjg.fsf@alter.siamese.dyndns.org>
On Tue, Oct 04, 2011 at 08:25:07AM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> Sitaram Chamarty <sitaram@atc.tcs.com> writes:
> 
> > Signed-off-by: Sitaram Chamarty <sitaram@atc.tcs.com>
> > ---
> >
> > I'm using what is pretty much a universal convention to
> > signify that the default choice is "y"; I hope documentation
> > for something so small is not needed but if it is, let me
> > know and I'll do that also.
> >
> > -			printf "Hit return to launch '%s': " \
> > +			printf "Launch '%s' [y]/n: " \
> 
> I think I've seen this done as: "do this? [Y/n]" elsewhere.
> 
> Not telling you what to do, but trying to feel what others may think.
Yes, that was my immediate thought, too (or even [Yn]).
-Peff
Previous: Junio C HamanoNext: Phil Hord
Message 3 of 14 in “git-difftool: allow skipping file by typing 'n' at prompt”
  1. git-difftool: allow skipping file by typing 'n' at promptSitaram Chamarty, Oct 4, 2011
  2. Junio C HamanoOct 4, 2011
  3. Jeff KingOct 4, 2011
  4. Phil HordOct 4, 2011
  5. Junio C HamanoOct 4, 2011
  6. Sitaram ChamartyOct 4, 2011
  7. git-difftool: allow skipping file by typing 'n' at promptSitaram Chamarty, Oct 6, 2011
  8. Junio C HamanoOct 6, 2011
  9. git-difftool: allow skipping file by typing 'n' at promptSitaram Chamarty, Oct 6, 2011
  10. Junio C HamanoOct 7, 2011
  11. git-difftool: allow skipping file by typing 'n' at promptSitaram Chamarty, Oct 8, 2011
  12. Charles BaileyOct 9, 2011
  13. Junio C HamanoOct 10, 2011
  14. Sitaram ChamartyOct 10, 2011

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.