diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-05 21:13:21 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-05 21:13:21 -0800 |
commit | 076ffcc834f02a4f11d7f4fe8825be3b065020ff (patch) | |
tree | 6f5fa28df80c60c9b0a1dfab028d3db33ae22fa0 /git-rev-parse.txt | |
parent | 3f2ed6f9b744f05cf2ad32b0c0c80aa149d9fdcb (diff) | |
download | git-htmldocs-076ffcc834f02a4f11d7f4fe8825be3b065020ff.tar.gz |
Autogenerated HTML docs for v1.8.1.2-545-g2f19ad
Diffstat (limited to 'git-rev-parse.txt')
-rw-r--r-- | git-rev-parse.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/git-rev-parse.txt b/git-rev-parse.txt index 3c63561f0..10a116faf 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -14,7 +14,7 @@ SYNOPSIS DESCRIPTION ----------- -Many git porcelainish commands take mixture of flags +Many Git porcelainish commands take mixture of flags (i.e. parameters that begin with a dash '-') and parameters meant for the underlying 'git rev-list' command they use internally and flags and parameters for the other commands they use @@ -147,7 +147,7 @@ shown. If the pattern does not contain a globbing character (`?`, relative to the current working directory. + If `$GIT_DIR` is not defined and the current directory -is not detected to lie in a git repository or work tree +is not detected to lie in a Git repository or work tree print a message to stderr and exit with nonzero status. --is-inside-git-dir:: @@ -187,9 +187,11 @@ print a message to stderr and exit with nonzero status. Flags and parameters to be parsed. --resolve-git-dir <path>:: - Check if <path> is a valid git-dir or a git-file pointing to a valid - git-dir. If <path> is a valid git-dir the resolved path to git-dir will - be printed. + Check if <path> is a valid repository or a gitfile that + points at a valid repository, and print the location of the + repository. If <path> is a gitfile then the resolved path + to the real repository is printed. + include::revisions.txt[] |