<feed xmlns='http://www.w3.org/2005/Atom'>
<title>debian/cgit, branch master</title>
<subtitle>Debian package for cgit</subtitle>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/'/>
<entry>
<title>Update changelog for 0.10.1-1~1.gbpc06fbc release</title>
<updated>2014-03-02T10:30:46Z</updated>
<author>
<name>YAEGASHI Takeshi</name>
<email>yaegashi@debian.org</email>
</author>
<published>2014-03-02T10:30:46Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=a83821f23277729f57631f5527b10543c80b6fea'/>
<id>a83821f23277729f57631f5527b10543c80b6fea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update debian/patches</title>
<updated>2014-03-02T10:29:45Z</updated>
<author>
<name>YAEGASHI Takeshi</name>
<email>yaegashi@debian.org</email>
</author>
<published>2014-03-02T08:24:06Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=c06fbc3b25e116fa79bcf94b6508010806ca3f14'/>
<id>c06fbc3b25e116fa79bcf94b6508010806ca3f14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'v0.10.1'</title>
<updated>2014-03-02T08:00:16Z</updated>
<author>
<name>YAEGASHI Takeshi</name>
<email>yaegashi@debian.org</email>
</author>
<published>2014-03-02T08:00:16Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=667bf9f6ed38daac4e4d7e88903eb0f28319c165'/>
<id>667bf9f6ed38daac4e4d7e88903eb0f28319c165</id>
<content type='text'>
CGIT 0.10.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CGIT 0.10.1
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore debian/build/ used by auto builder</title>
<updated>2014-03-02T03:33:27Z</updated>
<author>
<name>YAEGASHI Takeshi</name>
<email>yaegashi@debian.org</email>
</author>
<published>2014-03-02T03:30:10Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=1f57ee005551ae7ee2b387f14eb7dd104a120ee3'/>
<id>1f57ee005551ae7ee2b387f14eb7dd104a120ee3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version.</title>
<updated>2014-02-27T23:12:08Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-02-27T23:12:08Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=f2fa9c56e29ae32bbe5841e7bfe0217ada4e3df9'/>
<id>f2fa9c56e29ae32bbe5841e7bfe0217ada4e3df9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-refs: simplify cmp_age logic</title>
<updated>2014-02-26T15:57:15Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-02-26T15:57:15Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=493061102653ac6483dc3c9649c726318e2488b6'/>
<id>493061102653ac6483dc3c9649c726318e2488b6</id>
<content type='text'>
The check in parse_user that eventually makes it into committer_date and
tagger_date is:

else if (mode == 3 &amp;&amp; isdigit(*p)) {
    *date = atol(p);
    mode++;
}

Since isdigit('-') is always false, date will never be negative. Thus
the sign of this function:

static int cmp_age(int age1, int age2)
{
    if (age1 != 0 &amp;&amp; age2 != 0)
        return age2 - age1;

    if (age1 == 0 &amp;&amp; age2 == 0)
        return 0;

    if (age1 == 0)
        return +1;

    return -1;
}

Will always be the same as the sign of this function:

static inline int cmp_age(int age1, int age2)
{
    return age2 - age1;
}

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Idea-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check in parse_user that eventually makes it into committer_date and
tagger_date is:

else if (mode == 3 &amp;&amp; isdigit(*p)) {
    *date = atol(p);
    mode++;
}

Since isdigit('-') is always false, date will never be negative. Thus
the sign of this function:

static int cmp_age(int age1, int age2)
{
    if (age1 != 0 &amp;&amp; age2 != 0)
        return age2 - age1;

    if (age1 == 0 &amp;&amp; age2 == 0)
        return 0;

    if (age1 == 0)
        return +1;

    return -1;
}

Will always be the same as the sign of this function:

static inline int cmp_age(int age1, int age2)
{
    return age2 - age1;
}

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Idea-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused parameter from cgit_print_snapshot()</title>
<updated>2014-02-21T17:19:00Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-02-08T13:37:29Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=3e9578e9a3393eaebc658ad650a3241bf1930176'/>
<id>3e9578e9a3393eaebc658ad650a3241bf1930176</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>print download link for reference string length == 1</title>
<updated>2014-02-21T00:41:23Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2014-02-20T19:48:45Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=e6749644bc60865cb560a532b14fb3a007fb00ea'/>
<id>e6749644bc60865cb560a532b14fb3a007fb00ea</id>
<content type='text'>
I have a number of repositories that start tagging with just '1' and
count up. Actually references with sting length of one are skipped, this
patch changes that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have a number of repositories that start tagging with just '1' and
count up. Actually references with sting length of one are skipped, this
patch changes that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up cache documentation.</title>
<updated>2014-02-21T00:36:20Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-02-21T00:36:20Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95'/>
<id>2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip cache slot when time-to-live is zero</title>
<updated>2014-02-21T00:19:45Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2014-02-20T19:59:22Z</published>
<link rel='alternate' type='text/html' href='http://git.keshi.org/debian/cgit/commit/?id=6ceba453a27ead382d0116d95bdeb6b6be1149e2'/>
<id>6ceba453a27ead382d0116d95bdeb6b6be1149e2</id>
<content type='text'>
If time-to-live is set to zero, we don't need to regenerate the cache
slots on every request. Instead, just skip the caching process and
immediately provide the dynamically generated version of the page.
Setting time-to-live to zero is useful when you want to disable caching
for certain pages.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If time-to-live is set to zero, we don't need to regenerate the cache
slots on every request. Instead, just skip the caching process and
immediately provide the dynamically generated version of the page.
Setting time-to-live to zero is useful when you want to disable caching
for certain pages.

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