<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-commit.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-08-01T20:09:13Z</updated>
<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>ui-commit: handle root commits</title>
<updated>2008-05-18T19:13:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-05-18T19:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=502d57596e645ec91bb9b8ca62833cdb0de4a3b1'/>
<id>urn:sha1:502d57596e645ec91bb9b8ca62833cdb0de4a3b1</id>
<content type='text'>
Both cgit_print_diff() and cgit_diff_tree() handles root commits nicely,
but cgit_print_commit() forgot to check the case of 0 parents.

This fixes it, and adds tests to avoid future regressions.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Integrate diffstat with diff</title>
<updated>2008-04-24T21:41:32Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-24T21:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=fe1230dece81450004d02fa8a470f8dab8f7fdd9'/>
<id>urn:sha1:fe1230dece81450004d02fa8a470f8dab8f7fdd9</id>
<content type='text'>
This creates a generic diffstat function in ui-diff, which then is
invoked from cgit_print_diff with the result that both commit and diff-
view gets a diffstat.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix commitdiff annoyance</title>
<updated>2008-04-17T16:33:33Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-17T16:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=9ec5cd7944a7099515b7d41107007d6332a2540e'/>
<id>urn:sha1:9ec5cd7944a7099515b7d41107007d6332a2540e</id>
<content type='text'>
Someone were a bit sloppy when the commitdiff got included 'inline' in
commit 89aa3c0d0a4c6d9885272602005975b763ea1604. This patch deletes a
stray `)` and makes sure the diffstat summary `&lt;div&gt;` is closed before
the full diff is printed.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove 'patch' link from tab, add to commit view</title>
<updated>2008-04-13T10:20:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-13T10:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=39912a24edf45497e668ebda25636aa6f6db0c9b'/>
<id>urn:sha1:39912a24edf45497e668ebda25636aa6f6db0c9b</id>
<content type='text'>
It's a bit confusing to enter the patch view from the tab, since it has no
layout. And the commit view has always lacked showing the commit id. Both of
these warts are fixed by this commit, which adds a new header line in the
commit view which shows the commit id as a 'permalink' to the current commit
and also adds a link to the patch view of the current commit.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Include diff in commit view</title>
<updated>2008-04-12T18:00:40Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-04-12T13:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=89aa3c0d0a4c6d9885272602005975b763ea1604'/>
<id>urn:sha1:89aa3c0d0a4c6d9885272602005975b763ea1604</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add ui-shared.h</title>
<updated>2008-03-24T15:50:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-03-24T15:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=a4d1ca1dc6ff8171694d9e2280b6075a1beced0c'/>
<id>urn:sha1:a4d1ca1dc6ff8171694d9e2280b6075a1beced0c</id>
<content type='text'>
This is finally a proper headerfile for the shared ui-functions which
used to reside in cgit.h

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce html.h</title>
<updated>2008-03-18T07:13:10Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-02-23T21:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=b1f9b9c1459cb9a30ebf80721aff6ef788d1f891'/>
<id>urn:sha1:b1f9b9c1459cb9a30ebf80721aff6ef788d1f891</id>
<content type='text'>
All html-functions can be quite easily separated from the rest of cgit, so
lets do it; the only issue was html_filemode which uses some git-defined
macros so the function is moved into ui-shared.c::cgit_print_filemode().

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move cgit_repo into cgit_context</title>
<updated>2008-02-16T12:56:09Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-02-16T12:56:09Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=d1f3bbe9d22029f45a77bb938c176ccc0c827d46'/>
<id>urn:sha1:d1f3bbe9d22029f45a77bb938c176ccc0c827d46</id>
<content type='text'>
This removes the global variable which is used to keep track of the
currently selected repository, and adds a new variable in the cgit_context
structure.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce struct cgit_context</title>
<updated>2008-02-16T11:07:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-02-16T10:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ache.one/cgit/commit/?id=d14d77fe95c3b6224b40df9b101dded0deea913c'/>
<id>urn:sha1:d14d77fe95c3b6224b40df9b101dded0deea913c</id>
<content type='text'>
This struct will hold all the cgit runtime information currently found in
a multitude of global variables.

The first cleanup removes all querystring-related variables.

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