summaryrefslogtreecommitdiff
path: root/Documentation/pretty-options.txt
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2009-02-24 09:59:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-25 07:53:40 (GMT)
commitde84accc59baef73f7827d59f0d479521ecad937 (patch)
treedb6f3a500d73a939106a4ec40471ff83e1995dfc /Documentation/pretty-options.txt
parent36407548a2825462a91b456755412a65fd611fc0 (diff)
downloadgit-de84accc59baef73f7827d59f0d479521ecad937.zip
git-de84accc59baef73f7827d59f0d479521ecad937.tar.gz
git-de84accc59baef73f7827d59f0d479521ecad937.tar.bz2
Add --oneline that is a synonym to "--pretty=oneline --abbrev-commit"
These two are often used together but are too long to type. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pretty-options.txt')
-rw-r--r--Documentation/pretty-options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt
index 6596019..bff9499 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 commit objects record the encoding used for the log message
in their encoding header; this option can be used to tell the