Wrong help text on git status -h ?
Hi all.
This is what I get:
~/src/git$ ./git version
git version 1.5.5.1.67.gbdb8
~/src/git$ ./git status -h
usage: git-status [options] [--] <filepattern>...
-q, --quiet be quiet
-v, --verbose be verboseCommit message options
[....]
Commit contents options
[....]
(The [....] is deleted by me for this post!).
Getting help for commit on 'git status -h' can't be right, can it ? Or am I missing something?
Thanks,
Stefan
Quoted 2 lines · Stefan Näwe
Getting help for commit on 'git status -h' can't be right, can it ? Or am I missing something?
I'd say: both.
git status could have been spelled "git commit --dry-run", they're actually the same command, but "git status" stops before launching the editor and doing the actual commit. So, they take the exact same set of options.
That said, in an ideal world, "git status -h" would mention that the commit message options are ignored with "git status".
Signature · 1 line
Matthieu
Quoted 7 lines · Matthieu Moy <Matthieu.Moy <at> imag.fr> writes:
Quoted 2 lines · Stefan Näwe <stefan.naewe+git <at> gmail.com> writes:
Getting help for commit on 'git status -h' can't be right, can it ? Or am I missing something?
I'd say: both.
Well, I can't be *that* wrong:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478814
Quoted 8 lines
git status could have been spelled "git commit --dry-run", they're actually the same command, but "git status" stops before launching the editor and doing the actual commit. So, they take the exact same set of options.
That said, in an ideal world, "git status -h" would mention that the commit message options are ignored with "git status".
Regards,
Stefan