<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-log.c, branch v0.11.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-log.c?h=v0.11.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-log.c?h=v0.11.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2015-03-09T16:39:20Z</updated>
<entry>
<title>ui-log: make some variables 'static'</title>
<updated>2015-03-09T16:39:20Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-03-08T16:32:20Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=3fe509e17a337cbaa300b4b9aa2a248c2d0be873'/>
<id>urn:sha1:3fe509e17a337cbaa300b4b9aa2a248c2d0be873</id>
<content type='text'>
These are not used outside this file and are not declared.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tag: reference with "h" instead of "id"</title>
<updated>2015-01-19T16:52:10Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2015-01-15T22:18:14Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c422b9b3d5938a4d386533604d4c0dbedfcb2b6d'/>
<id>urn:sha1:c422b9b3d5938a4d386533604d4c0dbedfcb2b6d</id>
<content type='text'>
When clicking on "log" from a tag we end up showing the log of whatever
branch we used to reach the tag.  If the tag doesn't point onto a branch
then the tagged commit won't appear in this output.

By linking to tags with the head parameter instead of the "id" parameter
the log link will show the log of the tag.  This is clearly desirable
when the tag has been reached from the refs UI and changing the
behaviour for tag decorations makes them match branch decorations where
log -&gt; decoration -&gt; log shows the log of the decoration.

Reported-by: Ferry Huberts &lt;mailings@hupie.com&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to v2.2.1</title>
<updated>2014-12-24T01:53:03Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-12-19T07:28:34Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=17838ec6304198811df97402f11c185f8f0e10bd'/>
<id>urn:sha1:17838ec6304198811df97402f11c185f8f0e10bd</id>
<content type='text'>
Update to git version v2.2.1, including API changes.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>ui-shared: remove toggle_ssdiff arg to cgit_commit_link()</title>
<updated>2014-12-13T11:38:42Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-10-05T09:59:02Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=eeddb5bc0905d4728001a111a9b1eb60ecccf9bd'/>
<id>urn:sha1:eeddb5bc0905d4728001a111a9b1eb60ecccf9bd</id>
<content type='text'>
This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>git: update to v2.0.3</title>
<updated>2014-07-28T00:01:35Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-07-27T10:56:19Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=865afe0eb1b5e6485fe0f65472e6635266e393b1'/>
<id>urn:sha1:865afe0eb1b5e6485fe0f65472e6635266e393b1</id>
<content type='text'>
This is slightly more involved than just bumping the version number
because it pulls in a change to convert the commit buffer to a slab,
removing the "buffer" field from "struct commit".  All sites that access
"commit-&gt;buffer" have been changed to use the new functions provided for
this purpose.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>ui-log: ignore unhandled arguments</title>
<updated>2014-06-28T13:57:02Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-06-28T13:55:06Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=4046e8ef66225928a4f0d2cd71479e401faf7c3b'/>
<id>urn:sha1:4046e8ef66225928a4f0d2cd71479e401faf7c3b</id>
<content type='text'>
If you search for a bogus range string here:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/

Using something like "range" and "qwerty123456", it returns an "Internal
Server Error" and the following in the logs:

&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] fatal:
&gt; ambiguous argument 'qwerty123456': unknown revision or path not in the
&gt; working tree., referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Use '--' to
&gt; separate paths from revisions, like this:, referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] 'git &lt;command&gt;
&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]', referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
&gt; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Premature end
&gt; of script headers: cgit, referer:
&gt; http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/

The cache will kick in, so if you search for the same string again,
it'll show an empty range, so you have to change the bogus strings each
time.

This is because we just pass the arguments straight to Git's revision
parsing machinery which die()s if it cannot parse an argument, printing
the above to stderr and exiting.

The patch below makes it a bit friendlier by just ignoring unhandled
arguments, but I can't see an easy way to report errors when we can't
parse revision arguments without losing the flexibility of supporting
all of the revision specifiers supported by Git.

Reported-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;
</content>
</entry>
<entry>
<title>git: update for git 2.0</title>
<updated>2014-06-28T13:14:56Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-05-29T15:35:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=79c985e13c10b498c3ea62f4607c2e2a460c3b10'/>
<id>urn:sha1:79c985e13c10b498c3ea62f4607c2e2a460c3b10</id>
<content type='text'>
prefixcmp() and suffixcmp() have been remove, functionality is now
provided by starts_with() and ends_with(). Retrurn values have been
changed, so instead of just renaming we have to fix logic.
Everything else looks just fine.
</content>
</entry>
<entry>
<title>filter: add page source to email filter</title>
<updated>2014-01-14T01:00:07Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-13T15:24:40Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=786609bd36c07b85dbf905fc8c36eba7132122d7'/>
<id>urn:sha1:786609bd36c07b85dbf905fc8c36eba7132122d7</id>
<content type='text'>
Since the email filter is called from lots of places, the script might
benefit from knowing the origin. That way it can modify its contents
and/or size depending.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>filter: add support for email filter</title>
<updated>2014-01-14T01:00:07Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-13T03:04:52Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a5e15537268410e268c7b26aa69d03b347c326c8'/>
<id>urn:sha1:a5e15537268410e268c7b26aa69d03b347c326c8</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>Update copyright information</title>
<updated>2014-01-08T14:10:49Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@crytocrack.de</email>
</author>
<published>2014-01-08T14:10:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f7f26f88755ac6a3b9af4918b51b0d6e7a692c78'/>
<id>urn:sha1:f7f26f88755ac6a3b9af4918b51b0d6e7a692c78</id>
<content type='text'>
* Name "cgit Development Team" as copyright holder to avoid listing
  every single developer.

* Update copyright ranges.

Signed-off-by: Lukas Fleischer &lt;cgit@crytocrack.de&gt;
</content>
</entry>
</feed>
