diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-09-25 15:24:10 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-25 15:24:10 +0900 |
commit | 3430fff768b526a8e5877cfe56760d4865350b5e (patch) | |
tree | 762013bf1a7b9c5352d8af87e7a5a74debf82117 /Documentation/git-rev-parse.txt | |
parent | Merge branch 'rj/test-ulimit-on-windows' (diff) | |
parent | rev-parse: rev-parse: add --is-shallow-repository (diff) | |
download | tgif-3430fff768b526a8e5877cfe56760d4865350b5e.tar.xz |
Merge branch 'ow/rev-parse-is-shallow-repo'
"git rev-parse" learned "--is-shallow-repository", that is to be
used in a way similar to existing "--is-bare-repository" and
friends.
* ow/rev-parse-is-shallow-repo:
rev-parse: rev-parse: add --is-shallow-repository
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r-- | Documentation/git-rev-parse.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index b1293f24bb..0917b8207b 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -235,6 +235,9 @@ print a message to stderr and exit with nonzero status. --is-bare-repository:: When the repository is bare print "true", otherwise "false". +--is-shallow-repository:: + When the repository is shallow print "true", otherwise "false". + --resolve-git-dir <path>:: Check if <path> is a valid repository or a gitfile that points at a valid repository, and print the location of the |