Re: [PATCH 3/3] checkout: fix ambiguity check in subdir

2016-09-08 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > 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. Good eyes. Will queue. > >

[PATCH 3/3] checkout: fix ambiguity check in subdir

2016-09-07 Thread Nguyễn Thái Ngọc Duy
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 --- builtin/checkout.c