Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

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

From: Phil Hord <hidden>
Date: 2016-06-15 22:52:10

On Tue, Oct 4, 2011 at 11:25 AM, Junio C Hamano [off-list ref] wrote:
Sitaram Chamarty [off-list ref] writes:
quoted
Signed-off-by: Sitaram Chamarty <redacted>
---

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.
I think so, too.  The [y]/n syntax is not clear enough for me to
confidently know what the default value will be.

Phil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help