summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-01-20 14:38:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-20 14:38:30 -0800
commitc757c52f63cfaa9446f9ae93e44acc6ca610650f (patch)
tree6728e74757e2b992802be7a987c1adf4894e4c81 /Documentation
parentMerge branch 'jc/symbol-static' (diff)
parentUse $(git rev-parse --show-toplevel) in cd_to_toplevel(). (diff)
downloadtgif-c757c52f63cfaa9446f9ae93e44acc6ca610650f.tar.xz
Merge branch 'sd/cd-p-show-toplevel'
* sd/cd-p-show-toplevel: Use $(git rev-parse --show-toplevel) in cd_to_toplevel(). Add 'git rev-parse --show-toplevel' option.
Diffstat (limited to 'Documentation')
-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 82045a2522..dc829b333d 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -112,6 +112,9 @@ OPTIONS
--remotes::
Show tag refs found in `$GIT_DIR/refs/remotes`.
+--show-toplevel::
+ Show the absolute path of the top-level directory.
+
--show-prefix::
When the command is invoked from a subdirectory, show the
path of the current directory relative to the top-level