diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-07-02 00:17:42 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-07-02 00:17:42 +0000 |
commit | d526ba9b47b4ea5c29f3e49e8250babef215eb37 (patch) | |
tree | b880e0605034a0769f66356a2f6e262963135897 /git-rev-parse.txt | |
parent | 401939fd1dcf4d2133a48e99c390eb3b2f04f9ea (diff) | |
download | git-htmldocs-d526ba9b47b4ea5c29f3e49e8250babef215eb37.tar.gz |
Autogenerated HTML docs for v1.5.2.2-646-g71e55
Diffstat (limited to 'git-rev-parse.txt')
-rw-r--r-- | git-rev-parse.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/git-rev-parse.txt b/git-rev-parse.txt index 87771b832..eea9c9cfe 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -90,8 +90,15 @@ OPTIONS Show `$GIT_DIR` if defined else show the path to the .git directory. --is-inside-git-dir:: - Return "true" if we are in the git directory, otherwise "false". - Some commands require to be run in a working directory. + When the current working directory is below the repository + directory print "true", otherwise "false". + +--is-inside-work-tree:: + When the current working directory is inside the work tree of the + repository print "true", otherwise "false". + +--is-bare-repository:: + When the repository is bare print "true", otherwise "false". --short, --short=number:: Instead of outputting the full SHA1 values of object names try to |