From: "SZEDER Gábor" <szeder@ira.uka.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] Allow 'git cmd -h' outside of repository
Date: Fri, 29 Aug 2008 13:52:55 +0200 [thread overview]
Message-ID: <20080829115255.GD8000@neumann> (raw)
In-Reply-To: <alpine.DEB.1.00.0808291333010.24820@pacific.mpi-cbg.de.mpi-cbg.de>
On Fri, Aug 29, 2008 at 01:35:02PM +0200, Johannes Schindelin wrote:
> You miss the fact that "git grep -h" does not mean "show usage". Oh, and
> "git ls-remote -h" neither. Three times's a charm: "git show-ref -h" does
> not show the help either.
you are right with grep and show-ref. However, ls-remote does not
require a repository, so it would not be affected by this patch.
> I am also not quite certain if we should not just tout "git help <cmd>" as
> the official way to request help.
Well, I would prefer to keep the short usage.
But anyway, having this inconsistency with the -h option across git
commands is bad.
Regards,
Gábor
prev parent reply other threads:[~2008-08-29 11:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 21:28 [PATCH] Allow 'git cmd -h' outside of repository SZEDER Gábor
2008-08-29 11:35 ` Johannes Schindelin
2008-08-29 11:44 ` Nguyen Thai Ngoc Duy
2008-08-29 11:52 ` SZEDER Gábor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080829115255.GD8000@neumann \
--to=szeder@ira.uka.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.