summaryrefslogtreecommitdiffstats
path: root/t/t7401-submodule-summary.sh
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-06-16 16:18:17 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-17 22:30:01 +0200
commit12b9d32790b40bf3ea49134095619700191abf1f (patch)
tree0b79987d1da6269a8c5e55d1090f7429133b84fa /t/t7401-submodule-summary.sh
parentsubmodule: show full path in error message (diff)
downloadgit-12b9d32790b40bf3ea49134095619700191abf1f.tar.xz
git-12b9d32790b40bf3ea49134095619700191abf1f.zip
rev-parse: add --prefix option
This makes 'git rev-parse' behave as if it were invoked from the specified subdirectory of a repository, with the difference that any file paths which it prints are prefixed with the full path from the top of the working tree. This is useful for shell scripts where we may want to cd to the top of the working tree but need to handle relative paths given by the user on the command line. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7401-submodule-summary.sh')
0 files changed, 0 insertions, 0 deletions