git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wrong help text on git status -h ?
@ 2008-04-23 12:54 Stefan Näwe
  2008-04-23 16:00 ` Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Näwe @ 2008-04-23 12:54 UTC (permalink / raw)
  To: git

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 verbose

Commit 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong help text on git status -h ?
  2008-04-23 12:54 Wrong help text on git status -h ? Stefan Näwe
@ 2008-04-23 16:00 ` Matthieu Moy
  2008-05-13 11:09   ` Stefan Näwe
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Moy @ 2008-04-23 16:00 UTC (permalink / raw)
  To: Stefan Näwe; +Cc: git

Stefan Näwe <stefan.naewe+git@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.

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".

-- 
Matthieu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong help text on git status -h ?
  2008-04-23 16:00 ` Matthieu Moy
@ 2008-05-13 11:09   ` Stefan Näwe
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Näwe @ 2008-05-13 11:09 UTC (permalink / raw)
  To: git

Matthieu Moy <Matthieu.Moy <at> imag.fr> writes:

> 
> 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

 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-13 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 12:54 Wrong help text on git status -h ? Stefan Näwe
2008-04-23 16:00 ` Matthieu Moy
2008-05-13 11:09   ` Stefan Näwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).