aboutsummaryrefslogtreecommitdiff
path: root/t/t4120-apply-popt.sh
diff options
context:
space:
mode:
authorFederico Cuello <fedux@lugmen.org.ar>2010-10-21 19:12:02 -0300
committerJunio C Hamano <gitster@pobox.com>2010-11-05 14:23:55 -0700
commitcefd43b7f9b86b1c5de5216a8a03fac5e611afa9 (patch)
tree4a7529087a4b7f19bb40eaa0cfa124366fa2fd30 /t/t4120-apply-popt.sh
parent8a90438506d3b7c8ef8bd802b7ed10c1f12da1d0 (diff)
downloadgit-cefd43b7f9b86b1c5de5216a8a03fac5e611afa9.tar.gz
git-cefd43b7f9b86b1c5de5216a8a03fac5e611afa9.tar.xz
Fix git-apply with -p greater than 1
Fix the case when the patch is a rename or mode-change only and -p is used with a value greater than one. The git_header_name function did not remove more than one path component. Signed-off-by: Federico Cuello <fedux@lugmen.org.ar> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4120-apply-popt.sh')
0 files changed, 0 insertions, 0 deletions