<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests/t0108-patch.sh, branch v0.8</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/tests/t0108-patch.sh?h=v0.8</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/tests/t0108-patch.sh?h=v0.8'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2008-03-17T22:51:47Z</updated>
<entry>
<title>Fix segfault in patch view for root commit</title>
<updated>2008-03-17T22:51:47Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-17T22:13:16Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=e01f1403b9b501c563b1fe0e0052460a95945528'/>
<id>urn:sha1:e01f1403b9b501c563b1fe0e0052460a95945528</id>
<content type='text'>
The code for patch view assumed the current commit would always have a parent,
which made cgit segfault when that wasn't the case.

This fixes the bug and adds a test-script for patch view which includes a test
for the inital commit.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
