diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-09-07 11:19:41 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-21 15:44:41 (GMT) |
commit | b829b9439adc12fa4fb33338694e7f1ad40254c1 (patch) | |
tree | b7718c1f6996471f382dd5d8b02c95ab303e37bb /builtin/unpack-file.c | |
parent | 19e5656345cb308ab689932d64af0858a3a92400 (diff) | |
download | git-b829b9439adc12fa4fb33338694e7f1ad40254c1.zip git-b829b9439adc12fa4fb33338694e7f1ad40254c1.tar.gz git-b829b9439adc12fa4fb33338694e7f1ad40254c1.tar.bz2 |
checkout: fix ambiguity check in subdir
The two functions in parse_branchname_arg(), verify_non_filename and
check_filename, need correct prefix in order to reconstruct the paths
and check for their existence. With NULL prefix, they just check paths
at top dir instead.
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/unpack-file.c')
0 files changed, 0 insertions, 0 deletions