<feed xmlns='http://www.w3.org/2005/Atom'>
<title>exman/FreeBSD, branch 2062.52</title>
<subtitle>manuals for other systems
</subtitle>
<id>https://git.causal.agency/exman/atom?h=2062.52</id>
<link rel='self' href='https://git.causal.agency/exman/atom?h=2062.52'/>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/'/>
<updated>2021-04-26T21:25:29+00:00</updated>
<entry>
<title>Update to FreeBSD 13.0</title>
<updated>2021-04-26T21:25:29+00:00</updated>
<author>
<name>C. McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2021-04-26T21:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=f2c2bbe6dc05c56bffb7cdfe7ee07cc9a9255f61'/>
<id>urn:sha1:f2c2bbe6dc05c56bffb7cdfe7ee07cc9a9255f61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Completely rewrite how manuals are fetched and installed</title>
<updated>2021-01-28T03:39:03+00:00</updated>
<author>
<name>C. McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2021-01-28T03:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/exman/commit/?id=809d6629c97bd9c4bdf6c799e74a261bb510b1fd'/>
<id>urn:sha1:809d6629c97bd9c4bdf6c799e74a261bb510b1fd</id>
<content type='text'>
Also add section 6 manuals from NetBSD and OpenBSD!
</content>
</entry>
</feed>
</a> <a href='/cgit-pink/refs/?id=936295c4e4de8da83701c67377a911a0aefbcbd6'>refs</a> <a class='active' href='/cgit-pink/log/ui-refs.c?showmsg=1&amp;follow=1'>log</a> <a href='/cgit-pink/tree/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6'>tree</a> <a href='/cgit-pink/commit/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;follow=1'>commit</a> <a href='/cgit-pink/diff/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit-pink/log/ui-refs.c'>
<input type='hidden' name='id' value='936295c4e4de8da83701c67377a911a0aefbcbd6'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit-pink/log/?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;showmsg=1&amp;follow=1'>root</a>/<a href='/cgit-pink/log/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;showmsg=1&amp;follow=1'>ui-refs.c</a> (<a href='/cgit-pink/log/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;showmsg=1'>unfollow</a>)</div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/cgit-pink/log/ui-refs.c?id=936295c4e4de8da83701c67377a911a0aefbcbd6&amp;follow=1'>Collapse</a>)</th><th class='left'>Author</th></tr>
<tr class='logheader'><td><span title='2015-03-03 16:47:22 +0100'>2015-03-03</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=911d574250d3a2ae97f282fb8f466db2afa1cd64&amp;follow=1'>git: update to v2.3.1</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Update to git version v2.3.1, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-02-15 22:12:12 +0100'>2015-02-15</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=5e3e665d60c3c1f25443d1cc0ff1f7f2fe5fbf94&amp;follow=1'>Bump verison</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2015-02-15 22:06:24 +0100'>2015-02-15</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.png?id=36b1d78923734c3898eeeefadd4483155d18ecb5&amp;follow=1'>shrink cgit.png file size</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Ran optipng against cgit.png, which shrank file size by more than eight
percent. The image (including protocol overhead) should fit into a
single network packet now.

Optipng optimizes filters and compression. The actual pixel results are
not altered.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-02-09 12:29:57 +0100'>2015-02-09</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-clone.c?id=6e498de213aeebf63523ff0f298c2ae6393f9c0f&amp;follow=1'>ui-clone.c: Fix off-by-one error in pack path</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-02-09 11:51:14 +0100'>2015-02-09</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-clone.c?id=b66b16ed026c6f57ad8ae892c821d835113e7fb2&amp;follow=1'>ui-clone.c: Fix path check</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
The starts_with() check was broken in two ways: For one thing, the
parameters were passed in the wrong order, for another thing,
starts_with() returns 1 if the string starts with the prefix (not 0).

Note that this bug existed since commit 02a545e (Add support for cloning
over http, 2008-08-06) but only pops in in corner cases.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-02-08 18:11:09 +0100'>2015-02-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-tree.c?id=7358f63015a27d1c22816a3c1f734c3d4beed115&amp;follow=1'>git: update for v2.3.0</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
* sort_string_list(): rename to string_list_sort() (upstream commit
  3383e199)
* update read_tree_recursive callback to pass strbuf as base (upstream
  commit 6a0b0b6d)

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-02-05 10:44:11 +0100'>2015-02-05</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=1a9e56607eae2df2f4522b41294d94cb09fc4e5c&amp;follow=1'>ui-shared.c: Refactor add_clone_urls()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Make use of strbuf_split_str() and strbuf lists to split clone URLs.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-01-29 16:41:14 +0100'>2015-01-29</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-repolist.c?id=c58cec9dff273b44c428cfaee24e5e3743c0034e&amp;follow=1'>Add repo.hide and repo.ignore</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
These options can be used to hide a repository from the index or
completely ignore a repository, respectively. They are particularly
useful when used in combination with scan-path.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-01-28 13:42:49 +0100'>2015-01-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-snapshot.c?id=1a2eeb94d42b983213076906eb5c5b85452b2c30&amp;follow=1'>Add Etags for snapshots</a></td><td>Janus</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2015-01-19 17:52:10 +0100'>2015-01-19</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?id=c422b9b3d5938a4d386533604d4c0dbedfcb2b6d&amp;follow=1'>tag: reference with "h" instead of "id"</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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;


</td></tr>
<tr class='logheader'><td><span title='2015-01-15 19:48:44 +0100'>2015-01-15</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-clone.c?id=ed7e3bc822856c30066a4ff0178033b22046fe96&amp;follow=1'>Return proper HTTP response when accessing info/</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Currently, when a user directly accesses the info command of a
repository, we exit cgit without printing anything to stdout, bringing
up error messages like "502 Bad Gateway" or "An error occurred while
reading CGI reply (no response received)". Instead of bailing out, at
least print the HTTP headers, including a reasonable error message.

Reported-by: Janus Troelsen
Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2015-01-13 14:54:22 +0100'>2015-01-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=c641e0ab64f447cd39c6d5737fd498ace3ed8735&amp;follow=1'>git: update to v2.2.2</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Update to git version v2.2.2, no changes required.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-30 10:09:25 +0100'>2014-12-30</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-diff.c?id=d6c40507711ff6cc19c8fd3f28412845a33faf50&amp;follow=1'>ui-diff: don't link to single file diff stat</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Seeing the diff stat for a single file is pretty useless, so reset the
diff type before generating the links to individual files in the diff
stat so that the links will show a useful diff.

Reported-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-28 14:44:44 +0100'>2014-12-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-patch.c?id=7552266aaccb9445e082fc04215afcb55ad543d8&amp;follow=1'>ui-patch: match git-format-patch(1) output</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Using (DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH) causes Git to emit a
"---" line between the commit message and the body of the patch, which
fixes a regression introduced in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20), prior to which we
inserted the "---" line ourselves.

DIFF_FORMAT_SUMMARY is added so that we match the output of
git-format-patch(1) without the "-p" option.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-28 14:43:51 +0100'>2014-12-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/tests/t0108-patch.sh?id=ce8f4902295fbc774454362600007c971770631a&amp;follow=1'>t0108: modernize style</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
* &amp;&amp;-chaining
* use test_cmp instead of cmp
* use strip_headers instead of knowing how many lines there will be

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-24 12:50:11 +0100'>2014-12-24</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=b12273001459d72571a7625ffd085502f2a3844c&amp;follow=1'>Revert "git: use xz compressed archive for download"</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This reverts commit a87c9d8a9779eab0499efd3c44e090a28c7d1cdf.

We want to make OpenBSD people happy.


</td></tr>
<tr class='logheader'><td><span title='2014-12-24 01:38:28 -0700'>2014-12-24</span></td><td class='logsubject'><a href='/cgit-pink/commit/parsing.c?id=6f9e8a9659996281248c9002497148d489003bce&amp;follow=1'>Use split_ident_line() in parse_user()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Use Git's built-in ident line splitting algorithm instead of
reimplementing it. This does not only simplify the code but also makes
sure that cgit is consistent with Git when it comes to author parsing.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:40:14 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=2159414a3945f059a7e52a4900ffcd1ca665e102&amp;follow=1'>footer: link back to cgit home page</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
The footer has always been overrideable using the footer= in cgitrc, so
this won't anger anybody who cares about their footer.


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:32:24 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=caed6cb27f1869b0590cab56fc3394762892d049&amp;follow=1'>ui-shared: show absolute time in tooltip for relative dates</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:14:07 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=a87c9d8a9779eab0499efd3c44e090a28c7d1cdf&amp;follow=1'>git: use xz compressed archive for download</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:10:11 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/filters/about-formatting.sh?id=62affc0e91f3f322f0b7c27f67f527845e857c82&amp;follow=1'>match other common markdown file extensions</a></td><td>Chris Burroughs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:08:20 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-repolist.c?id=96ceb9a95a7a321209cff347fefd141a9fffc7ca&amp;follow=1'>repolist: add owner-filter</a></td><td>Chris Burroughs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This allows custom links to be used for repository owners by
configuring a filter to be applied in the "Owner" column in the
repository list.


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:04:21 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=3c53ebfb57a5dba8fc65b2f99ebbfb6356666e34&amp;follow=1'>ui-shared: add rel-vcs microformat links to HTML header</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
As described at https://joeyh.name/rfc/rel-vcs/.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:04:13 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=d31be4ccc2f978edd2a40c2721e1efdc1eee2343&amp;follow=1'>ui-summary: add "rel='vcs-git'" to clone URL links</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This is described in the rel-vcs microformat[1].

[1] https://joeyh.name/rfc/rel-vcs/

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 19:04:04 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=bbfa006e6eb93d56842c1d90bbba1c5484afb855&amp;follow=1'>Extract clone URL printing to ui-shared.c</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will allow us to reuse the same logic to add clone URL &lt;link/&gt;
elements to the header of all repo-specific pages in order to support
the rel-vcs microformat.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 18:53:03 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/scan-tree.c?id=485b09925cd54f3f55257619fa5796d274e96050&amp;follow=1'>Remove trailing slash after remove-suffix</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
When removing the ".git" suffix of a non-bare repository, also remove
the trailing slash for compatibility with cgit_repobasename().

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-23 18:53:03 -0700'>2014-12-23</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-repolist.c?id=17838ec6304198811df97402f11c185f8f0e10bd&amp;follow=1'>git: update to v2.2.1</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Update to git version v2.2.1, including API changes.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/filters/email-libravatar.lua?id=10c5680efb02b534108b174c0967d08ae3e46927&amp;follow=1'>filter: fix libravatar email-filter https issue</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Serving cgit via https and getting avatar via http gives error messages
about untrusted content. This decides whether or not to use https link
by looking at the environment variable HTTPS, which is set in CGI.


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-diff.c?id=ddfaef6bb28e697491b25bff5a7b260d44ce6ccf&amp;follow=1'>ui-diff: add "stat only" diff type</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This prints the diffstat but stops before printing (or generating) any
of the body of the diff.

No cgitrc option is added here so that we can wait to see how useful
this is before letting people set it as the default.

Suggested-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?id=1830271c5958526425f92ae2b369646b54e3c370&amp;follow=1'>Change "ss" diff flag to an enum</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will allow us to introduce a new "stat only" diff mode without
needing an explosion of mutually incompatible flags.

The old "ss" query parameter is still accepted in order to avoid
breaking saved links, but we no longer generate any URIs using it;
instead the new "dt" (diff type) parameter is used.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?id=03f537f1a134c8578ae4c16055596539fbbcc220&amp;follow=1'>ui-shared: remove toggle_ssdiff arg to cgit_diff_link()</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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;


</td></tr>
<tr class='logheader'><td><span title='2014-12-13 12:38:42 +0100'>2014-12-13</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?id=eeddb5bc0905d4728001a111a9b1eb60ecccf9bd&amp;follow=1'>ui-shared: remove toggle_ssdiff arg to cgit_commit_link()</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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;


</td></tr>
<tr class='logheader'><td><span title='2014-08-07 14:42:34 +0200'>2014-08-07</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=49f607777fe3d9393574a572d72caa568ee3ca3c&amp;follow=1'>git: update to v2.0.4</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
No CGit changes required.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-08-07 14:38:02 +0200'>2014-08-07</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.c?id=9dd67272ed57e8923510197eb5ac8d3f819fbb26&amp;follow=1'>Always check if README exists in choose_readme()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Specifying a nonexistent README file via the readme option is sometimes
useful, e.g. when using scan-path and setting a global default.
Currently, we check whether there is only one option in the readme
option and, if so, we choose that file without checking whether it
exists. As a consequence, all repositories are equipped with an about
link in the aforementioned scenario, even if there is no about file.
Remove the early check for the number of keys and always check whether
the file exists instead.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-08-01 17:37:27 +0200'>2014-08-01</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgitrc.5.txt?id=efa2879ad760f6f12c1aa9d2bb9918f0afe9f084&amp;follow=1'>cgitrc.5: we mean a cgi response, not request</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:47 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-stats.c?id=2eea471a7821f1f8bf2a4ce61bb748dcb9f7fa17&amp;follow=1'>ui-stats.c: set parent pointer to NULL after freeing it</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
We do this everywhere else, so we should be doing it here as well.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:35 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-stats.c?id=865afe0eb1b5e6485fe0f65472e6635266e393b1&amp;follow=1'>git: update to v2.0.3</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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;


</td></tr>
<tr class='logheader'><td><span title='2014-07-28 02:01:23 +0200'>2014-07-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/parsing.c?id=93d8ef8f1de4385c565049e1ccd7fdd25e6c14d7&amp;follow=1'>parsing.c: make commit buffer const</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This will be required in order to incorporate the changes to commit
buffer handling in Git 2.0.2.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-06-30 15:15:35 +0200'>2014-06-30</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=eeaffc33432d3cf91902cac3eab50c0598bdaa19&amp;follow=1'>Bump version.</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-06-29 20:18:42 +0200'>2014-06-29</span></td><td class='logsubject'><a href='/cgit-pink/commit/scan-tree.c?id=4b91269bdbc21a664cc56c26d6071c630560f2e0&amp;follow=1'>remove debug fprinf() calls that sneaked in with commit 79c985</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-06-28 16:07:30 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=390ffad022336b02dca6dec23504cefeb12adada&amp;follow=1'>git: update to 2.0.1</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Everything works just bumping the version in Makefile and commit hash in
submodule. No code changes required.


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:59:15 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-patch.c?id=2efb59ed0fa8eced79fa702bc47454d3406c3431&amp;follow=1'>ui-patch: Flush stdout after outputting data</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
It looks like cached patches are truncated to the nearest 1024-byte
boundary in the patch body. E.g.:

&gt; mricon@nikko:[/tmp]$ wget -O no-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=6e1b4fdad5157bb9e88777d525704aba24389bee"
...
&gt; 2014-06-11 15:34:51 (80.4 MB/s) - ‘no-cache’ saved [4767]

Patch is complete, without truncation. Next hit, with cache in place:

&gt; mricon@nikko:[/tmp]$ wget -O yes-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=6e1b4
&gt; fdad5157bb9e88777d525704aba24389bee"
...
&gt; 2014-06-11 15:35:01 (17.0 MB/s) - ‘yes-cache’ saved [4096/4096]

Length truncated to 4096. The cache on disk looks truncated as well, so
the bug must me during the process of saving cache. The same is true for
larger patches:

&gt; mricon@nikko:[/tmp]$ wget -O no-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=2840c566e95599cd60c7143762ca8b49d9395050"
...
&gt; 2014-06-11 15:41:33 (1.07 MB/s) - ‘no-cache’ saved [979644]

979644 bytes with a cache-miss

&gt; mricon@nikko:[/tmp]$ wget -O yes-cache
&gt; "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=2840c
&gt; 566e95599cd60c7143762ca8b49d9395050"
...
&gt; 2014-06-11 15:41:46 (1.05 MB/s) - ‘yes-cache’ saved [978944]

978944 (956KB exactly) with a cache-hit

Since the "html" functions use raw write(2) to STDIO_FILENO, we don't
notice problems with most pages, but raw patches write using printf(3).
This is fine if we're outputting straight to stdout since the buffers
are flushed on exit, but we close the cache output before this, so the
cached output ends up being truncated.

Make sure the buffers are flushed when we finish outputting a patch so
that we avoid this.

No other UIs use printf(3) so we do not need to worry about them.

Actually, it's slightly more interesting than this... since we don't set
GIT_FLUSH, Git decides whether or not it will flush stdout after writing
each commit based on whether or not stdout points to a regular file (in
maybe_flush_or_die()).

Which means that when writing directly to the webserver, Git flushes
stdout for us, but when we redirect stdout to the cache it points to a
regular file so Git no longer flushes the output for us.

The patch is still correct, but perhaps the full explanation is
interesting!

Reported-by: Konstantin Ryabitsev &lt;mricon@kernel.org&gt;


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:57:02 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-log.c?id=4046e8ef66225928a4f0d2cd71479e401faf7c3b&amp;follow=1'>ui-log: ignore unhandled arguments</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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;


</td></tr>
<tr class='logheader'><td><span title='2014-06-28 15:14:56 +0200'>2014-06-28</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=79c985e13c10b498c3ea62f4607c2e2a460c3b10&amp;follow=1'>git: update for git 2.0</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
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.


</td></tr>
<tr class='logheader'><td><span title='2014-04-17 12:55:09 +0200'>2014-04-17</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?id=b431282c91deea24916578395d88084261410968&amp;follow=1'>remove trailing whitespaces from source files</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-04-12 18:05:43 +0200'>2014-04-12</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=dcb16f0d11305b4d7cb6357c5c0e21ad67f69871&amp;follow=1'>git: update to 1.9.2</a></td><td>Christian Hesse</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Everything works just bumping the version in Makefile and commit hash in
submodule. No code changes required.


</td></tr>
<tr class='logheader'><td><span title='2014-04-05 19:05:36 -0300'>2014-04-05</span></td><td class='logsubject'><a href='/cgit-pink/commit/parsing.c?id=10451797fa2370aab6f4146c86e0fa939a9a982b&amp;follow=1'>Fix cgit_parse_url when a repo url is contained in another repo url</a></td><td>Julian Maurice</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
For example, if I have two repos (remove-suffix is enabled):
  /foo
  /foo/bar

http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'"
instead of "repository 'foo/bar'"


</td></tr>
<tr class='logheader'><td><span title='2014-03-20 11:20:01 -0600'>2014-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?id=88b93113235452d47e7ce474689327c43e64b843&amp;follow=1'>Makefile: use more reliable git tarball mirror</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
</td></tr>
<tr class='logheader'><td><span title='2014-03-20 11:14:03 -0600'>2014-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/git?id=45315f846c2e2ee6663f0ba8cc454384d2b9e3ea&amp;follow=1'>git: update to 1.9.1</a></td><td>Christian Hesse