summaryrefslogtreecommitdiff
path: root/builtin-apply.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-02-14 22:44:41 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-14 13:21:31 -0800
commited0cb46ebb020234da94a843ca341dde8e9e3911 (patch)
tree80997641ffa0b56b3460b66ec70abcf4d3080cc8 /builtin-apply.c
parentGit 1.6.6.2 (diff)
downloadtgif-ed0cb46ebb020234da94a843ca341dde8e9e3911.tar.xz
make_absolute_path(): Do not append redundant slash
When concatenating two paths, if the first one already have '/', do not put another '/' in between the two paths. Usually this is not the case as getcwd() won't return '/foo/bar/', except when you are standing at root, then it will return '/'. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-apply.c')
0 files changed, 0 insertions, 0 deletions