diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-22 22:35:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-22 22:35:38 -0800 |
commit | 5f94c730f31862c7f500173ee3a9d141c4730f0b (patch) | |
tree | e2123685937d061759aa00d483ee46e3aa2dc3ad /Documentation/git-update-index.txt | |
parent | Merge in fixes up to 1.0.3 maintenance branch. (diff) | |
download | tgif-5f94c730f31862c7f500173ee3a9d141c4730f0b.tar.xz |
rev-parse: --show-cdup
When --show-prefix is useful, sometimes it is easier to cd up to
the toplevel of the tree. This is equivalent to:
git rev-parse --show-prefix | sed -e 's|[^/][^/]*|..|g'
but we do not have to invoke sed for that.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-update-index.txt')
0 files changed, 0 insertions, 0 deletions