X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-rev-parse.txt;h=8b95df0c6e2a147cd89fdb20605896852085cbc5;hb=d1308c94810c75505d88a14193b328bc413a0473;hp=d638bfc202ef9ad0386d640cbf70b9cdb2fff665;hpb=1a4e841b439ba014b365999c3a6b9e2be3740bd8;p=git.git diff --git a/git-rev-parse.txt b/git-rev-parse.txt index d638bfc2..8b95df0c 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -3,7 +3,7 @@ git-rev-parse(1) NAME ---- -git-rev-parse - Pick out and massage parameters. +git-rev-parse - Pick out and massage parameters SYNOPSIS @@ -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.