Skip to content

Commit

Permalink
Document --short and --git-dir in git-rev-parse(1)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  • Loading branch information
Jonas Fonseca authored and Junio C Hamano committed Feb 18, 2006
1 parent 44de0da commit 735d80b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/git-rev-parse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 735d80b

Please sign in to comment.