diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-03-26 16:04:24 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-28 17:01:15 -0700 |
commit | 9b125da490990ae4d08dd1517dc38b188b874fa8 (patch) | |
tree | 1da0d8359926faf97b67946095f5e5e9937186cc /perl/private-Error.pm | |
parent | Git 1.7.4.2 (diff) | |
download | tgif-9b125da490990ae4d08dd1517dc38b188b874fa8.tar.xz |
setup: return correct prefix if worktree is '/'
The same old problem reappears after setup code is reworked. We tend
to assume there is at least one path component in a path and forget
that path can be simply '/'.
Reported-by: Matthijs Kooijman <matthijs@stdin.nl>
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 'perl/private-Error.pm')
0 files changed, 0 insertions, 0 deletions