<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/www/photo.causal.agency/x-370, branch master</title>
<subtitle>dontfiles
</subtitle>
<id>https://git.causal.agency/src/atom?h=master</id>
<link rel='self' href='https://git.causal.agency/src/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.causal.agency/src/'/>
<updated>2026-07-13T03:23:59+00:00</updated>
<entry>
<title>Add X-370 template</title>
<updated>2026-07-13T03:23:59+00:00</updated>
<author>
<name>June McEnroe</name>
<email>june@causal.agency</email>
</author>
<published>2026-07-13T03:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/src/commit/?id=aa69a1d68b0a2b77ef089e6076b8baf877ce2e0c'/>
<id>urn:sha1:aa69a1d68b0a2b77ef089e6076b8baf877ce2e0c</id>
<content type='text'>
</content>
</entry>
</feed>
showmsg' value='1'/><select name='h' onchange='this.form.submit();'>
<option value='ed9087b00adf3758d1727f639c810f440af01a57'>this commit</option>
<optgroup label='branches'><option value='master'>master</option>
<option value='wiki'>wiki</option>
</optgroup></select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>DON'T USE THIS! --- web frontend for git
</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit-pink/about/?h=1.4.1'>about</a> <a href='/cgit-pink/?h=1.4.1'>summary</a> <a href='/cgit-pink/refs/?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce'>refs</a> <a class='active' href='/cgit-pink/log/tests/.gitignore?h=1.4.1&amp;showmsg=1&amp;follow=1'>log</a> <a href='/cgit-pink/tree/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce'>tree</a> <a href='/cgit-pink/commit/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;follow=1'>commit</a> <a href='/cgit-pink/diff/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;follow=1'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit-pink/log/tests/.gitignore'>
<input type='hidden' name='h' value='1.4.1'/><input type='hidden' name='id' value='8f208794318f83826e98168b8b430f2d9a68bcce'/><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/?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;showmsg=1&amp;follow=1'>root</a>/<a href='/cgit-pink/log/tests?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;showmsg=1&amp;follow=1'>tests</a>/<a href='/cgit-pink/log/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;showmsg=1&amp;follow=1'>.gitignore</a> (<a href='/cgit-pink/log/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&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/tests/.gitignore?h=1.4.1&amp;id=8f208794318f83826e98168b8b430f2d9a68bcce&amp;follow=1'>Collapse</a>)</th><th class='left'>Author</th></tr>
<tr class='logheader'><td><span title='2013-04-08 15:43:17 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.mk?h=1.4.1&amp;id=a5e4ad2d8b9c6bcfc7029894d3a3837166996b35&amp;follow=1'>cgit.mk: fix dependency handling</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Git calculates the dependency files to be included using a simply
expanded Makefile variable, so it does not include the CGit objects that
are added after that Makefile has been processed.

We therefore need to include the dependency files ourselves in order to
get the dependency calculations right.  Do this.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-08 15:43:17 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.mk?h=1.4.1&amp;id=cfb77e97fa63d709c81bc730ea47a06172d78669&amp;follow=1'>Makefile: re-include cgit.conf in cgit.mk</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This avoids needed to export every variable that might be used in
cgit.mk from the top-level Makefile.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-08 15:43:17 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.c?h=1.4.1&amp;id=a92678b5f119811bccaca9c31b779c5ceed95572&amp;follow=1'>Do not unnecessarily strdup() environment variables</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This reverts the memory duplication introduced in commit 60a2627, while
keeping everything else that has been cleaned up. The environment
variables are never modified, so we do not need to call xstrdupn() here.

Also, remove xstrdupn() which is no longer needed.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-08 15:43:17 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.h?h=1.4.1&amp;id=3a8432437934a0a95f2618b534b1f5b3494d6b18&amp;follow=1'>Maŕk cgit_environment members const</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
These reflect the values of environment variables and should never be
changed. Add another xstrdup() when we assign environment variables to
strings that are potentially non-constant.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-08 15:43:17 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.h?h=1.4.1&amp;id=996f86e664ab6d00a9304a42374e9c691b78ca6b&amp;follow=1'>Return const char * in cgit_{httpscheme, hosturl, rooturl}()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
The return values of these functions are essentially constant and should
never be modified.

Note that this will introduce a compiler warning when we try to free the
return value of any of these functions. However, given that all of these
currently return statically allocated strings in some cases, they need
to be refactored before this can be done anyway.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-08 15:41:38 +0200'>2013-04-08</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-log.c?h=1.4.1&amp;id=849ecd961df9454d6f849eac34e6f501395c4f01&amp;follow=1'>Update git to v1.8.2.1</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This requires a small change to how we handle notes, but otherwise just
works.

Note that we can't use anything from v1.8.0 until v1.8.2.1 because some
of the symbols that we need for graph drawing were made private in
v1.8.0 and this was not reverted until v1.8.2.1.

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


</td></tr>
<tr class='logheader'><td><span title='2013-04-07 16:07:58 +0200'>2013-04-07</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-blob.c?h=1.4.1&amp;id=1c32e008c8fda46f812c38f46ae7515bcf8002ee&amp;follow=1'>ui-blob: don't segfault when no path is given</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
It it possible to inspect blobs by specifying only the SHA-1, and CGit
provides links to do so, for example if a tag points directly at a blob.
In this case the path_items structure is never used, but creating it
still causes strlen to be run on a null pointer.  Fix this.

This error was introduced by commit c1633c6 (Update git to v1.7.6.5 -
2013-03-02).

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:16:19 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-repolist.c?h=1.4.1&amp;id=b60e6bff75719a5fb0df970bac3be6b2726cf73a&amp;follow=1'>Convert pager navigation into a unordered list</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
It is common practice and semantically appropriate to use unordered
lists for long navigation lists.

This also fixes the layout of very long pager navigations in
Webkit-based browsers.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:14:22 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/Makefile?h=1.4.1&amp;id=121089ced5e1d3f3103cbc2b37f5fb579d800915&amp;follow=1'>Makefile: remove CGIT-CFLAGS files in clean stage</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='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?h=1.4.1&amp;id=977a3ad7bf212e6ec7f43c16763321061ee64a69&amp;follow=1'>ui-summary.c: Move urls variable into print_urls()</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
There's no need for this variable to be global. Printing the header in
print_urls() instead of print_url() allows for moving this variable into
print_urls() without having to pass any status to print_url().

Note that this only works as long as we don't call print_urls() more
than once.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-summary.c?h=1.4.1&amp;id=ef8a97d9c6983e4fc3710bdbe771edd4e3550dba&amp;follow=1'>Fix colspan values</a></td><td>Lukas Fleischer</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This fixes a couple of minor oversights in previous commits and adjusts
all cells using colspan to use the correct width.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/html.c?h=1.4.1&amp;id=6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a&amp;follow=1'>html: check return value of write</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This squelches a gcc warning. It's also correct that we check to see if
there are any partial or failed writes. For now, we just print a warning
to stderr. In the future, perhaps it will prove wise to exit(1) on
partial writes.


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-shared.c?h=1.4.1&amp;id=40e1d9b6177558bf4069c09ca6d8e3a682baa988&amp;follow=1'>ui-shared: squelch compiler warning.</a></td><td>Jason A. Donenfeld</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Since tail is initialized to 0, we will never get a warning on the last
if statement, but recent gcc complains anyway. So, we initialize len as
well. Future gcc versions should be able to optimize this out anyway.


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.mk?h=1.4.1&amp;id=7669f7f73082ce9eb1aef28495773492cc5bec90&amp;follow=1'>cgit.mk: Use SHELL_PATH_SQ to run gen-version.sh</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
On some platforms (notably Solaris) /bin/sh doesn't support enough of
POSIX for gen-version.sh to run.  Git's Makefile provides SHELL_PATH_SQ
to address this issue so we just have to use it.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.mk?h=1.4.1&amp;id=d6768a67093166810621d2521f10fd016bd75721&amp;follow=1'>cgit.mk: don't rebuild everything if CGIT_VERSION changes</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
If CGIT_VERSION is in CGIT_CFLAGS then a change in version (for example
because you have committed your changes) causes all of the CGit objects
to be rebuilt.  Avoid this by using EXTRA_CPPFLAGS to add the version
for only those files that are affected and make them depend on VERSION.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/ui-patch.c?h=1.4.1&amp;id=1a6feaf5fafdaec4a1adb1c0d54b95106122ede5&amp;follow=1'>ui-patch: use cgit_version not CGIT_VERSION</a></td><td>John Keeping</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
We already have a global cgit_version which is set from the #define'd
CGIT_VERSION in cgit.c.  Change ui-patch.c to use this so that we only
need to rebuild cgit.o when the version changes.

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


</td></tr>
<tr class='logheader'><td><span title='2013-03-20 21:08:32 +0100'>2013-03-20</span></td><td class='logsubject'><a href='/cgit-pink/commit/cgit.mk?h=1.4.1&amp;id=5f323c1ff45c10d8f8b0a673d2fe7e98272f5d78&amp;follow=1'>Makefile: re-use Git's Makefile where possible</a></td><td>John Keeping