patch: make -p count path components, not slashes (think /blah//thing)
authorRob Landley <rob@landley.net>
Mon, 10 Oct 2011 17:59:38 +0000 (19:59 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 10 Oct 2011 17:59:38 +0000 (19:59 +0200)
commit39ec6a2ad5dae93c125b766eb8e705742216797a
tree7bae67387dcebb1ad580bf8d4a4597a20d6e20c8
parentcc87588a613ce5de8cb47b04f63ba267d1ecfd1e
patch: make -p count path components, not slashes (think /blah//thing)

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/patch.c
testsuite/patch.tests