Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v3 10/9] difftool: do not allow mix of '--prompt' with '--no-prompt'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:21

Tim Henigan [off-list ref] writes:
When difftool was changed to use Getopt::Long, it changed the way that
the '--prompt' and '--no-prompt' options are handled. Prior to the change,
if both options were given, then the last option was used.  After the
change, if both were given, then '--prompt' was always used.

This commit teaches difftool to exit with an error if both options are
given at the command line. t7800 was updated to match.
Hrm, people with "[alias] mdt = difftool --prompt" have every right to
expect their

	$ git mdt --no-prompt

to keep working, no?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help