summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-02-14 15:44:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-02-14 21:21:39 (GMT)
commitd06f15d9c0c2b072e5eebf87fa93ee9a899ed642 (patch)
treea8372029772fece69bbd793389e2a886628dfd92 /sha1_file.c
parented0cb46ebb020234da94a843ca341dde8e9e3911 (diff)
downloadgit-d06f15d9c0c2b072e5eebf87fa93ee9a899ed642.zip
git-d06f15d9c0c2b072e5eebf87fa93ee9a899ed642.tar.gz
git-d06f15d9c0c2b072e5eebf87fa93ee9a899ed642.tar.bz2
init-db, rev-parse --git-dir: do not append redundant slash
If git_dir already has the trailing slash, don't put another one before .git. This only happens when git_dir is '/' or 'C:/' 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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions