summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Fonseca <fonseca@diku.dk>2006-02-18 01:11:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-18 01:33:12 (GMT)
commit735d80b3bf1be9513d030e61af1ef6512cec015a (patch)
tree1d3bfd4983341b66a9d6850eaef5842519bb6f3c /Documentation
parent44de0da4f908b6600647673e1236b0ca504a9c15 (diff)
downloadgit-735d80b3bf1be9513d030e61af1ef6512cec015a.zip
git-735d80b3bf1be9513d030e61af1ef6512cec015a.tar.gz
git-735d80b3bf1be9513d030e61af1ef6512cec015a.tar.bz2
Document --short and --git-dir in git-rev-parse(1)
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-rev-parse.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index d638bfc..1662e06 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -77,6 +77,14 @@ OPTIONS
path of the top-level directory relative to the current
directory (typically a sequence of "../", or an empty string).
+--git-dir::
+ Show `$GIT_DIR` if defined else show the path to the .git directory.
+
+--short, short=number::
+ Instead of outputting the full SHA1 values of object names try to
+ abbriviate them to a shorter unique name. When no length is specified
+ 7 is used. The minimum length is 4.
+
--since=datestring, --after=datestring::
Parses the date string, and outputs corresponding
--max-age= parameter for git-rev-list command.