summaryrefslogtreecommitdiff
path: root/Documentation/SubmittingPatches
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-06-16 15:18:17 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-17 13:30:01 -0700
commit12b9d32790b40bf3ea49134095619700191abf1f (patch)
tree0b79987d1da6269a8c5e55d1090f7429133b84fa /Documentation/SubmittingPatches
parentsubmodule: show full path in error message (diff)
downloadtgif-12b9d32790b40bf3ea49134095619700191abf1f.tar.xz
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 'Documentation/SubmittingPatches')
0 files changed, 0 insertions, 0 deletions