apply: demonstrate a problem applying svn diffs
commitf16ef7bd4c37fba8c030b87610f646a1fce5d52d
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 15 Feb 2018 00:29:27 +0000 (15 01:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 19:09:01 +0000 (15 11:09 -0800)
treecda337843542bdeb13cb997b040a185ba87b28e5
parentfc849d8d6b90e5c1e0c37bc0d60dd92b2fe7347f
apply: demonstrate a problem applying svn diffs

Subversion generates diffs that contain funny ---/+++ lines containing
more than just the file names. Example:

--- a/trunk/README (revision 4711)
+++ /dev/null (nonexistent)

Let's add a test case demonstrating that apply cannot handle the
/dev/null line (although it can handle the trunk/README line just fine).

Reported in https://github.com/git-for-windows/git/issues/1489

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4135-apply-weird-filenames.sh