Document --short and --git-dir in git-rev-parse(1)
authorJonas Fonseca <fonseca@diku.dk>
Sat, 18 Feb 2006 01:11:36 +0000 (02:11 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 18 Feb 2006 01:33:12 +0000 (17:33 -0800)
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Documentation/git-rev-parse.txt
index d638bfc202ef9ad0386d640cbf70b9cdb2fff665..1662e0656128829bbbefe2c07ab5d6cc7372f052 100644 (file)
@@ -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.