<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/tests/corrupt-patch, branch master</title>
<subtitle>git.savannah.gnu.org: git/patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/'/>
<entry>
<title>Don't require traditional patch header after "git --diff"</title>
<updated>2015-03-09T19:29:15+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@gnu.org</email>
</author>
<published>2015-03-09T19:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/patch.git/commit/?id=5c6625bf62a81c114d849faa1a9cc95c126034a5'/>
<id>5c6625bf62a81c114d849faa1a9cc95c126034a5</id>
<content type='text'>
Reported by Tim Waugh &lt;twaugh@redhat.com&gt;.
* src/pch.c (intuit_diff_type): Don't require a traditional patch header
("--- old\n+++ new/n") after a "git --diff" header; the "git --diff" header
gives us enough information for being able to process subsequent hunks.  This
deals with corrupted patches more gracefully.
* tests/corrupt-patch: New test case.
* tests/Makefile.am (TESTS): Add test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Tim Waugh &lt;twaugh@redhat.com&gt;.
* src/pch.c (intuit_diff_type): Don't require a traditional patch header
("--- old\n+++ new/n") after a "git --diff" header; the "git --diff" header
gives us enough information for being able to process subsequent hunks.  This
deals with corrupted patches more gracefully.
* tests/corrupt-patch: New test case.
* tests/Makefile.am (TESTS): Add test case.
</pre>
</div>
</content>
</entry>
</feed>
