<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-pink, branch 1.4.0</title>
<subtitle>DON'T USE THIS! --- web frontend for git
</subtitle>
<id>https://git.causal.agency/cgit-pink/atom?h=1.4.0</id>
<link rel='self' href='https://git.causal.agency/cgit-pink/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/'/>
<updated>2022-05-15T17:10:57+00:00</updated>
<entry>
<title>Bump version to 1.4.0</title>
<updated>2022-05-15T17:10:57+00:00</updated>
<author>
<name>June McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2022-05-15T17:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=4a30da89c936102afc1666f106cc007ef5f2e1c0'/>
<id>urn:sha1:4a30da89c936102afc1666f106cc007ef5f2e1c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tolerate short writes in print_slot</title>
<updated>2022-05-13T20:07:35+00:00</updated>
<author>
<name>Hristo Venev</name>
<email>hristo@venev.name</email>
</author>
<published>2022-05-07T17:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=695515801c9241f106f6f99b04dc0e84439fdea5'/>
<id>urn:sha1:695515801c9241f106f6f99b04dc0e84439fdea5</id>
<content type='text'>
sendfile() can return after a short read/write, so we may need to call
it more than once. As suggested in the manual page, we fall back to
read/write if sendfile fails with EINVAL or ENOSYS.

On the read/write path, use write_in_full which deals with short writes.

Signed-off-by: Hristo Venev &lt;hristo@venev.name&gt;
</content>
</entry>
<entry>
<title>git: update to v2.36.1</title>
<updated>2022-05-13T19:42:03+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2022-05-09T07:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=069d15447b2ca1db8cd90959ae69bab0426959e2'/>
<id>urn:sha1:069d15447b2ca1db8cd90959ae69bab0426959e2</id>
<content type='text'>
Update to git version v2.36.1, no additional changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>git: update to v2.36.0</title>
<updated>2022-05-13T19:42:03+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2022-04-18T20:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=3374b0e7a6a4a221e7778f6c8294beef987bcd27'/>
<id>urn:sha1:3374b0e7a6a4a221e7778f6c8294beef987bcd27</id>
<content type='text'>
Update to git version v2.36.0, this requires changes for these
upstream commits:

* 95433eeed9eac439eb21eb30105354b15e71302e
  diff: add ability to insert additional headers for paths

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
</content>
</entry>
<entry>
<title>Use release_commit_memory()</title>
<updated>2022-02-18T00:16:05+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2022-02-13T15:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=400fd7abbc9cf104999afeb05a7a40b8d58814b2'/>
<id>urn:sha1:400fd7abbc9cf104999afeb05a7a40b8d58814b2</id>
<content type='text'>
Instead of calling two separate Git functions to free memory associated
with a commit object, use Git's wrapper which does this.  This also
counts as a potential future bug fix since release_commit_memory() also
resets the parsed state of the commit, meaning any attempt to use it in
the future will correctly fill out the fields again.

release_commit_memory() does not set parents to zero, so keep that for
additional safety in case CGit checks this without calling
parse_commit() again.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Reset font size for blame oid</title>
<updated>2022-02-18T00:11:05+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2022-02-13T15:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=93ce8fe3b1b3be2926c501145cce71ac86717202'/>
<id>urn:sha1:93ce8fe3b1b3be2926c501145cce71ac86717202</id>
<content type='text'>
In Firefox, the hashes in the blame UI are out of step with the line
number and content leading to ever increasing vertical misalignment.

This is caused by the .oid class setting font-size to 90%, so override
this back to 100% for the blame case, bringing the height of lines in
all three columns of the table back into step.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Add a link to the parent commit in blame</title>
<updated>2022-02-18T00:01:45+00:00</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2022-02-13T15:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=28c0cb6f72a8f2d0f5afcd854261aebdf832012b'/>
<id>urn:sha1:28c0cb6f72a8f2d0f5afcd854261aebdf832012b</id>
<content type='text'>
When walking through the history, it is useful to quickly see the same
file at the previous revision, so add a link to do this.

It would be nice to link to the correct line with an additional
fragment, but this requires significantly more work so it can be done as
an enhancement later.  (ent-&gt;s_lno is mostly the right thing, but it is
the line number in the post-image of the target commit whereas the link
is to the parent of that commit, i.e. the pre-image of the target.)

Suggested-by: Alejandro Colomar &lt;alx.manpages@gmail.com&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>Fix fmt() off-by-one error</title>
<updated>2022-02-18T00:00:57+00:00</updated>
<author>
<name>lemon</name>
<email>lsof@mailbox.org</email>
</author>
<published>2022-02-08T11:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=c5809a4296f852fe30a7356854d3d0758fa1bf7f'/>
<id>urn:sha1:c5809a4296f852fe30a7356854d3d0758fa1bf7f</id>
<content type='text'>
vsnprintf returns the byte count of the formatted output not including
the null terminator, so in the case that len == 1024 the last character
of the output was being truncated and not detected by the later check.
Changing the greater than comparison to greater than or equal fixes this
edge case.
</content>
</entry>
<entry>
<title>Allow to give readme head from query</title>
<updated>2022-02-17T22:57:00+00:00</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2022-01-10T09:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=129d8a1582b586718a64bbbef393d529b84c7b16'/>
<id>urn:sha1:129d8a1582b586718a64bbbef393d529b84c7b16</id>
<content type='text'>
Reading the README from repository used to be limited to default
branch or a branch given in configuration. Let's allow a branch
from query if not specified explicitly.
</content>
</entry>
<entry>
<title>Bump version to 1.3.0</title>
<updated>2022-02-14T02:13:41+00:00</updated>
<author>
<name>June McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2022-02-14T02:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/cgit-pink/commit/?id=44a004809b93dc1e6b174e41c2a5b4ac14f94d9b'/>
<id>urn:sha1:44a004809b93dc1e6b174e41c2a5b4ac14f94d9b</id>
<content type='text'>
</content>
</entry>
</feed>
