<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgit.c, branch v0.8</title>
<subtitle>🍴 My patches to cgit
</subtitle>
<id>https://git.ache.one/cgit/atom?h=v0.8</id>
<link rel='self' href='https://git.ache.one/cgit/atom?h=v0.8'/>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/'/>
<updated>2008-09-15T21:35:27Z</updated>
<entry>
<title>Add support for --scan-tree=&lt;path&gt; option to cgit</title>
<updated>2008-09-15T21:35:27Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-09-14T22:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=93397a765b9d9af11b7d10c114406e303ea4fb1c'/>
<id>urn:sha1:93397a765b9d9af11b7d10c114406e303ea4fb1c</id>
<content type='text'>
This option makes cgit scan a directory tree looking for git repositories,
generating suitable definitions for a cgitrc file on stdout.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Teach cgit how to use PATH_INFO</title>
<updated>2008-09-15T21:00:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-08-09T19:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=e154edd8078020d6eba41b448afade0a68617f35'/>
<id>urn:sha1:e154edd8078020d6eba41b448afade0a68617f35</id>
<content type='text'>
This commit makes cgit use the cgi variables SCRIPT_NAME and PATH_INFO
when virtual-root is unspecified in cgitrc and no url-parameter is
specified on the querystring. This has two nice effects:

* Virtual urls works out of the box, no more need for rewrite-rules in httpd.
* Virtual urls with special querystring characters are handled correctly.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Implement plain view</title>
<updated>2008-08-06T09:21:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-08-06T08:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=e5da4bca54574522b28f88cab0dc8ebad9e35a73'/>
<id>urn:sha1:e5da4bca54574522b28f88cab0dc8ebad9e35a73</id>
<content type='text'>
This implements a way to access plain blobs by path (similar to the
tree view) instead of by sha1.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Added `local-time` option to cgitrc</title>
<updated>2008-08-01T20:09:13Z</updated>
<author>
<name>Stefan Naewe</name>
<email>stefan.naewe@atlas-elektronik.com</email>
</author>
<published>2008-08-01T12:54:38Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=0f0ab148c6d444316af10e6b4c7a60630fed45d3'/>
<id>urn:sha1:0f0ab148c6d444316af10e6b4c7a60630fed45d3</id>
<content type='text'>
When `local-time` is set, commit, tag and patch timestamps will be printed
in the servers timezone. Also, regardless of the value of `local-time`,
these timestamps will now always show the timezone.

Signed-off-by: Stefan Naewe &lt;stefan.naewe@atlas-elektronik.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Modify default value for a few cgitrc options</title>
<updated>2008-07-27T10:58:37Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-07-27T10:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=952f4ece296d91b8b41f56de9e1c3bc80f94f196'/>
<id>urn:sha1:952f4ece296d91b8b41f56de9e1c3bc80f94f196</id>
<content type='text'>
The default max-length used when printing commit messages and repo
descriptions can be increased due to the new layout (no sidebar).

Also, on the repo summary page I believe it makes sense to only show the
ten most recent branches and tags by default, just as it makes sense to
show the ten most recent commit messages for the active branch.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Be prepared for empty repositories</title>
<updated>2008-07-27T10:32:08Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-07-27T10:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=25c84326deff579d5de4b880f9dca2690bdc8569'/>
<id>urn:sha1:25c84326deff579d5de4b880f9dca2690bdc8569</id>
<content type='text'>
Before this patch, cgit would segfault on repositories with no refs.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add a favicon option to cgitrc</title>
<updated>2008-07-19T18:47:39Z</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@hatman.(none)</email>
</author>
<published>2008-07-19T18:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=502865a5ec40fed5f1f865cb34002aecaab8405e'/>
<id>urn:sha1:502865a5ec40fed5f1f865cb34002aecaab8405e</id>
<content type='text'>
This option is used to specify a shortcut icon on all cgit pages.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for including a footer on all pages</title>
<updated>2008-06-26T11:53:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-06-26T11:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=de5e9281719809c5b07051faa88e95bd16e8d485'/>
<id>urn:sha1:de5e9281719809c5b07051faa88e95bd16e8d485</id>
<content type='text'>
The new cgitrc option `footer` can be used to include a html-file which
replaces the standard 'generated by cgit' message at the bottom of each
page.

Suggested-by: Peter Danenberg &lt;pcd@wikitex.org&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>allow specification of directly linked blobs mimetypes</title>
<updated>2008-06-24T21:42:32Z</updated>
<author>
<name>Michael Krelin</name>
<email>hacker@klever.net</email>
</author>
<published>2008-06-24T21:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=42effc939090b2fbf1b2b76cd1d9c30fabcd230e'/>
<id>urn:sha1:42effc939090b2fbf1b2b76cd1d9c30fabcd230e</id>
<content type='text'>
Signed-off-by: Michael Krelin &lt;hacker@klever.net&gt;
</content>
</entry>
<entry>
<title>cache.c: do not ignore errors from print_slot()</title>
<updated>2008-05-18T21:59:11Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-05-18T21:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=af2e75616d1bfb7dc79d299d10ae0bd39bef47bc'/>
<id>urn:sha1:af2e75616d1bfb7dc79d299d10ae0bd39bef47bc</id>
<content type='text'>
If print_slot() fails, the client will be served an inferior response.
This patch makes sure that such an error will be returned to main(), which
in turn will try to inform about the error in the response itself.

The error is also printed to the cache_log, i.e. stderr, which will make
the error message appear in error_log (atleast when httpd==apache).

Noticed-by: Jim Meyering &lt;jim@meyering.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
