aboutsummaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorJulian Phillips <julian@quantumfyre.co.uk>2007-06-19 12:44:43 +0100
committerJunio C Hamano <gitster@pobox.com>2007-06-24 02:36:56 -0700
commit09381b458f5f1ac1a78df1aaeeb53aa79fcf2c4f (patch)
treec2155fe543e7578de3d16caf1790784ae7caafcf /object.h
parentf58494bf82c260bf8794b2744158d84fc242cbf0 (diff)
downloadgit-09381b458f5f1ac1a78df1aaeeb53aa79fcf2c4f.tar.gz
git-09381b458f5f1ac1a78df1aaeeb53aa79fcf2c4f.tar.xz
new-workdir: handle rev-parse --git-dir not always giving full path
rev-parse --git-dir outputs a full path - except for the single case of when the path would be $(pwd)/.git, in which case it outputs simply .git. Check for this special case and handle it. Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
0 files changed, 0 insertions, 0 deletions