Re: [PATCH 3/3] Add --oneline that is a synonym to "--pretty=oneline --abbrev-commit"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 24, 2009, 17:38 UTC
- Message-ID
- <7vljrvhh13.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20090224185916.6117@nanako3.lavabit.com>
Nanako Shiraishi <nanako3@lavabit.com> writes:
Show 21 quoted lines
> These two are often used together but are too long to type. > > Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> > --- > Documentation/pretty-options.txt | 4 ++++ > revision.c | 4 ++++ > 2 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt > index 6596019..b0ea68a 100644 > --- a/Documentation/pretty-options.txt > +++ b/Documentation/pretty-options.txt > @@ -18,6 +18,10 @@ configuration (see linkgit:git-config[1]). > This should make "--pretty=oneline" a whole lot more readable for > people using 80-column terminals. > > +--oneline:: > + This is a shorthand for "--pretty=oneline --abbrev-commit" > + used together. > + > --encoding[=<encoding>]::
The --pretty=oneline was one of the things I found that orthogonality harmed usability in a big way. Very nice.
I see Teemu already did bash completion for this series, and I'll take it as an Aye. Any volunteer who wants to add a few tests?
Thanks.