Browse Source
find_name() wrongly returned the whole filename for filenames without enough leading pathname components (e.g., when applying a patch to a top-level file with -p2). Include the -p value used in the error message when no filenames can be found. [jc: squashed a test from Nanako Shiraishi] Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Andreas Gruenbacher
15 years ago
committed by
Junio C Hamano
2 changed files with 14 additions and 2 deletions
Loading…
Reference in new issue