@matheusbsbs / matheus-bagliano / commits / c9bf7be238
Fork 0

Document git rev-parse --is-inside-git-dir

Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed Jun 16, 2007 at 21:03 UTC c9bf7be238ac3c767f9ac6546d5bb7b11765253c
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 + Return "true" if we are in the git directory, otherwise "false".
94 + Some commands require to be run in a working directory.
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