Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Document git rev-parse --is-inside-git-dir
author
Jakub Narebski
<jnareb@gmail.com>
Sat, 16 Jun 2007 19:03:44 +0000
(21:03 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 16 Jun 2007 20:08:11 +0000
(13:08 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-parse.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6da0878
)
diff --git
a/Documentation/git-rev-parse.txt
b/Documentation/git-rev-parse.txt
index e1cb4ef8568d05ad7bacfb391227bb88560fd448..87771b832bdc71a9b18535f0ab21e68478891e46 100644
(file)
--- a/
Documentation/git-rev-parse.txt
+++ b/
Documentation/git-rev-parse.txt
@@
-89,6
+89,10
@@
OPTIONS
--git-dir::
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.
+
--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