aboutsummaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-07-04 12:45:42 -0700
committerJunio C Hamano <gitster@pobox.com>2007-07-04 12:45:42 -0700
commitf66a4d68d2066998605f5910c3c8dd1e4a25fc7f (patch)
treeec87b382245a4764a395cdf0f09f4c5c7c50652f /csum-file.c
parent73616fd3d21ab5eefc912fa886ff8808e59d6e7e (diff)
downloadgit-f66a4d68d2066998605f5910c3c8dd1e4a25fc7f.tar.gz
git-f66a4d68d2066998605f5910c3c8dd1e4a25fc7f.tar.xz
Do not check if getcwd() result begins with a slash.
In user space, and for getcwd(), the check to see if the resulting path begins with a '/' does not make sense. This is merely a mistake by Linus who is so used to code for the kernel, where a d_path() return value pathname can be either a real path, or something like "pipe:[8003]", and the difference is the '/' at the beginning. Pointed out by Dscho, Matthias Lederhofer and clarified by Linus. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.c')
0 files changed, 0 insertions, 0 deletions