Document --short and --git-dir in git-rev-parse(1)
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Jonas Fonseca committed
Feb 18, 2006 at 02:11 UTC
735d80b3bf1be9513d030e61af1ef6512cec015a
1 file changed
+8
Documentation/git-rev-parse.txt
+8
@@ -77,6 +77,14 @@ OPTIONS
77
path of the top-level directory relative to the current
78
directory (typically a sequence of "../", or an empty string).
79
80
+--git-dir::
81
+ Show `$GIT_DIR` if defined else show the path to the .git directory.
82
+
83
+--short, short=number::
84
+ Instead of outputting the full SHA1 values of object names try to
85
+ abbriviate them to a shorter unique name. When no length is specified
86
+ 7 is used. The minimum length is 4.
87
+
88
--since=datestring, --after=datestring::
89
Parses the date string, and outputs corresponding
90
--max-age= parameter for git-rev-list command.