summaryrefslogtreecommitdiff
path: root/Documentation/git-rev-parse.txt
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2007-06-03 14:46:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-06 23:07:53 (GMT)
commit493c774e58a05bbbac06e4ae1654ca3d24e4e5cf (patch)
tree0ba0afdae1fcb024f1323d34abff3049c26a5a1e /Documentation/git-rev-parse.txt
parent4faac2468de86f4dfd482d55d7c9adc7f2796f07 (diff)
downloadgit-493c774e58a05bbbac06e4ae1654ca3d24e4e5cf.zip
git-493c774e58a05bbbac06e4ae1654ca3d24e4e5cf.tar.gz
git-493c774e58a05bbbac06e4ae1654ca3d24e4e5cf.tar.bz2
rev-parse: introduce --is-bare-repository
Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r--Documentation/git-rev-parse.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 5fcec19..c817d16 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -93,6 +93,9 @@ OPTIONS
When the current working directory is below the repository
directory 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
abbreviate them to a shorter unique name. When no length is specified