aboutsummaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-02-14 22:44:41 +0700
committerJunio C Hamano <gitster@pobox.com>2010-02-14 13:21:31 -0800
commited0cb46ebb020234da94a843ca341dde8e9e3911 (patch)
tree80997641ffa0b56b3460b66ec70abcf4d3080cc8 /http.c
parent4133fd25525022f99d2c7ba339618433bdd919fe (diff)
downloadgit-ed0cb46ebb020234da94a843ca341dde8e9e3911.tar.gz
git-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 'http.c')
0 files changed, 0 insertions, 0 deletions