Re: [1.8.0 RFD] Homogeneous use of short options
From: Michael J Gruber <hidden>
Date: 2016-06-15 22:50:34
Miles Bader venit, vidit, dixit 15.02.2011 01:52:
Junio C Hamano [off-list ref] writes:quoted
quoted
add -A: Why capital A? Compare commit -a etc.IIRC, this was in anticipation for a similar interface to include _new_ files in the commit in the form of "commit -A", which _is_ different from the existing "commit -a".I look up the meaning of "git commit -u": $ git commit --help ... -u[<mode>], --untracked-files[=<mode>] Show untracked files (Default: all). The mode parameter is optional, and is used to specify the handling of untracked files. The possible options are: · no - Show no untracked files · normal - Shows untracked files and directories · all - Also shows individual files in untracked directories. See git-config(1) for configuration variable used to change the default for when the option is not specified. I guess it means it only affects the status-display for --dry-run, but it seems a little confusing to not say that explicitly...
I think it is confusing only until you have used "commit" without "-m" for the first time - and only if you overlooked the 3 occurences of "show" ;) Michael