From: Junio C Hamano Date: Sun, 13 Sep 2009 18:34:43 GMT Subject: Re: [PATCH 1/2] git-archive: add '-o' as a alias for '--output' Message-ID: <7v4or6sngc.fsf@alter.siamese.dyndns.org> In-Reply-To: <1252863407-2598-1-git-send-email-dpotapov@gmail.com> Dmitry Potapov writes: > The '-o' option is commonly used in many tools to specify the output file. > Typing '--output' every time is a bit too long to be a practical alternative > to redirecting output. But specifying the output name has the advantage of > making possible to guess the desired output format by filename extension. > > Signed-off-by: Dmitry Potapov > --- > ... > diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt > index 92444dd..f7a3b95 100644 > --- a/Documentation/git-archive.txt > +++ b/Documentation/git-archive.txt > @@ -48,6 +48,7 @@ OPTIONS > --prefix=/:: > Prepend / to each filename in the archive. > > +-o:: > --output=:: > Write the archive to instead of stdout. I think this patch is very reasonable, except for this hunk, which would want to say "-o ::" instead. I'll see if there are comments from others and if there is none, apply this patch with that minor tweak. Thanks.