@matheusbsbs / matheus-bagliano / commits / 4faac2468d
Fork 0

rev-parse: document --is-inside-git-dir

Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthias Lederhofer committed Jun 3, 2007 at 16:46 UTC 4faac2468de86f4dfd482d55d7c9adc7f2796f07
1 file changed +4
Documentation/git-rev-parse.txt
+4
@@ -89,6 +89,10 @@ OPTIONS
89 --git-dir::
90 Show `$GIT_DIR` if defined else show the path to the .git directory.
91
92 +--is-inside-git-dir::
93 + When the current working directory is below the repository
94 + directory print "true", otherwise "false".
95 +
96 --short, --short=number::
97 Instead of outputting the full SHA1 values of object names try to
98 abbreviate them to a shorter unique name. When no length is specified