]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-rev-parse.txt
rev-parse: document --is-inside-git-dir
[thirdparty/git.git] / Documentation / git-rev-parse.txt
index 7757abe62190a066b6ad8b57214b70ff3fa0f12a..5fcec19a5616527228e3a7bd45a8d0b6fdb0b86c 100644 (file)
@@ -89,6 +89,10 @@ OPTIONS
 --git-dir::
        Show `$GIT_DIR` if defined else show the path to the .git directory.
 
+--is-inside-git-dir::
+       When the current working directory is below the repository
+       directory print "true", otherwise "false".
+
 --short, --short=number::
        Instead of outputting the full SHA1 values of object names try to
        abbreviate them to a shorter unique name. When no length is specified