<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/scan-tree.c, branch v0.8.3.3</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/scan-tree.c?h=v0.8.3.3</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/scan-tree.c?h=v0.8.3.3'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2009-08-24T08:22:58Z</updated>
<entry>
<title>Add support for repo-local cgitrc file</title>
<updated>2009-08-24T08:22:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-23T22:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=74061ed5f03e72796450aa3b8ca1cf6ced5d59e2'/>
<id>urn:sha1:74061ed5f03e72796450aa3b8ca1cf6ced5d59e2</id>
<content type='text'>
When recursively scanning a directory tree looking for git repositories,
cgit will now parse cgitrc files found within such repositories.

The repo-specific config files can include any repo-specific options
except 'repo.url' and 'repo.path'. Also, in such config files the 'repo.'
prefix can not be used, i.e. the valid options then becomes:
* name
* clone-url
* desc
* ower
* defbranch
* snapshots
* enable-log-filecount
* enable-log-linecount
* max-stats
* module-link
* section
* about-filter
* commit-filter
* source-filter
* readme

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>scan-tree: detect non-bare repository and stop scanning early</title>
<updated>2009-08-24T08:22:57Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-11T08:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=fb9bf55cde24bbb46568575fc65739a9226f8216'/>
<id>urn:sha1:fb9bf55cde24bbb46568575fc65739a9226f8216</id>
<content type='text'>
We don't want to descend into every subdirectory of a git repository
with a workdir.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>scan-tree: split the pw_gecos field at the ',' to get the real name</title>
<updated>2009-08-20T08:11:07Z</updated>
<author>
<name>Stefan Naewe</name>
<email>stefan.naewe@atlas-elektronik.com</email>
</author>
<published>2009-08-20T06:24:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=6445a3ad0987ba66eef555c9caa3fc378f99ee22'/>
<id>urn:sha1:6445a3ad0987ba66eef555c9caa3fc378f99ee22</id>
<content type='text'>
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>Add and use a common readfile() function</title>
<updated>2009-08-18T15:22:14Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-18T15:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=e16f1783346a090e4ea1194dcaae7f03e813f6a2'/>
<id>urn:sha1:e16f1783346a090e4ea1194dcaae7f03e813f6a2</id>
<content type='text'>
This function is used to read the full content of a textfile into a
newly allocated buffer (with zerotermination).

It replaces the earlier readfile() in scan-tree.c (which was rather
error-prone[1]), and is reused by read_agefile() in ui-repolist.c.

1: No checks for EINTR and EAGAIN, fixed-size buffer

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>truncate buffer before reading empty files</title>
<updated>2009-08-18T12:27:41Z</updated>
<author>
<name>Simon Arlott</name>
<email>simon@fire.lp0.eu</email>
</author>
<published>2009-03-07T00:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=011f2e9bdddcbfe65da397629bca87d167313a28'/>
<id>urn:sha1:011f2e9bdddcbfe65da397629bca87d167313a28</id>
<content type='text'>
If readfile() reads an empty file, fgets() won't truncate the buffer
and it'll still contain the contents of the previously read file.

[lh: fixed similar issue in ui-repolist.c]

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for --scan-tree=&lt;path&gt; option to cgit</title>
<updated>2008-09-15T21:35:27Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-09-14T22:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=93397a765b9d9af11b7d10c114406e303ea4fb1c'/>
<id>urn:sha1:93397a765b9d9af11b7d10c114406e303ea4fb1c</id>
<content type='text'>
This option makes cgit scan a directory tree looking for git repositories,
generating suitable definitions for a cgitrc file on stdout.

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