Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
rev-parse: --show-cdup
author
Junio C Hamano
<junkio@cox.net>
Fri, 23 Dec 2005 06:35:38 +0000
(22:35 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 23 Dec 2005 06:35:38 +0000
(22:35 -0800)
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>
raw
|
patch
| inline |
side by side
(from:
5f94c73
)
No differences found