<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cmd.c, branch ch/git-2-54</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/cmd.c?h=ch%2Fgit-2-54</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/cmd.c?h=ch%2Fgit-2-54'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2020-10-20T21:57:12Z</updated>
<entry>
<title>global: replace references to 'sha1' with 'oid'</title>
<updated>2020-10-20T21:57:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-20T21:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=779631c6dc23c15bbbf45a7c7ab9fffb619037b7'/>
<id>urn:sha1:779631c6dc23c15bbbf45a7c7ab9fffb619037b7</id>
<content type='text'>
For some time now sha1 is considered broken and upstream is working to
replace it with sha256. Replace all references to 'sha1' with 'oid',
just as upstream does.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-tree: allow per repository override for enable-blame</title>
<updated>2019-06-25T19:40:59Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2019-02-26T16:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=e1ad15d368bdeb1bffea588b93a29055c5dfb7f4'/>
<id>urn:sha1:e1ad15d368bdeb1bffea588b93a29055c5dfb7f4</id>
<content type='text'>
The blame operation can cause high cost in terms of CPU load for huge
repositories. Let's add a per repository override for enable-blame.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-blame: add blame UI</title>
<updated>2017-10-03T18:19:34Z</updated>
<author>
<name>Jeff Smith</name>
<email>whydoubt@gmail.com</email>
</author>
<published>2017-10-02T04:39:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=c1cd290d1f83d3d1c2d081d734e8d213f12cc06b'/>
<id>urn:sha1:c1cd290d1f83d3d1c2d081d734e8d213f12cc06b</id>
<content type='text'>
Implement a page which provides the blame view of a specified file.

This feature is controlled by a new config variable, "enable-blame",
which is disabled by default.

Signed-off-by: Jeff Smith &lt;whydoubt@gmail.com&gt;
Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>about: path_info might not be valid</title>
<updated>2016-02-26T12:14:52Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-26T12:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=09a3aa5ae7781a0e461373ede6bc10129cb3f5de'/>
<id>urn:sha1:09a3aa5ae7781a0e461373ede6bc10129cb3f5de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd: redirect empty about/ to homepage or summary</title>
<updated>2016-02-22T17:40:15Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2016-02-22T15:33:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=94c02bbf732d938c92df4961026c4d8f6fd4c37e'/>
<id>urn:sha1:94c02bbf732d938c92df4961026c4d8f6fd4c37e</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cmd: fix resource leak: free allocation from cgit_currenturl and fmtalloc</title>
<updated>2015-10-09T12:03:58Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2015-10-09T11:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=6f2e4400faebd829f905c824400f933fe07f5c30'/>
<id>urn:sha1:6f2e4400faebd829f905c824400f933fe07f5c30</id>
<content type='text'>
Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>cmd: fix command definition</title>
<updated>2015-08-14T14:41:22Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T14:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=73ef8567f04c2dea8fbf83213b28e0cd1dff98f3'/>
<id>urn:sha1:73ef8567f04c2dea8fbf83213b28e0cd1dff98f3</id>
<content type='text'>
The previous commit removed the "pre" field from "struct cgit_cmd" but
forgot to update this macro.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Reviewed-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>cmd: no need for pre function hook now</title>
<updated>2015-08-14T13:54:32Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-08-14T13:54:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=03de473354dc8c17a3b23a973b5cc67752ad20cb'/>
<id>urn:sha1:03de473354dc8c17a3b23a973b5cc67752ad20cb</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>cmd: remove "want_layout" field</title>
<updated>2015-08-14T13:46:51Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T11:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20'/>
<id>urn:sha1:a420c7ce9b2c483c2f93b8a1a03cc80f3eeedb20</id>
<content type='text'>
No commands use this any more.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tree: move layout into page function</title>
<updated>2015-08-14T13:46:51Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-08-14T11:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5'/>
<id>urn:sha1:9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5</id>
<content type='text'>
This also allows us to return proper HTTP error codes when the requested
tree is not found and display an error message in one case (invalid path
inside valid commit) where we previously just displayed an empty page.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
</feed>
