<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cgitrc.5.txt, branch master</title>
<subtitle>a web frontend for git repositories</subtitle>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/'/>
<entry>
<title>Merge branch 'fh/mimetypes'</title>
<updated>2012-03-18T21:01:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T21:01:28Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a'/>
<id>ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jp/defbranch'</title>
<updated>2012-03-18T21:00:18Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T21:00:18Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=181b6e789b79fc385e5ec75b2b83f01192d54051'/>
<id>181b6e789b79fc385e5ec75b2b83f01192d54051</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lh/module-links'</title>
<updated>2012-03-18T20:59:36Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-03-18T20:59:36Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=2b9fab8d30420d935745c4d84ea22412ab2485e5'/>
<id>2b9fab8d30420d935745c4d84ea22412ab2485e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shared.c: Only setenv() if value is non-null</title>
<updated>2012-01-03T14:59:36Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2011-09-14T09:52:43Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=d96d2c98ebc4c2d3765f5b35c4142e0e828a421b'/>
<id>d96d2c98ebc4c2d3765f5b35c4142e0e828a421b</id>
<content type='text'>
Some setenv() implementations (e.g. the one in OpenBSD's stdlib)
segfault if we pass a NULL value. Only set environment variables if the
corresponding settings are defined to avoid this.

Note that this is a minor behaviour change as environment variables were
supposed to be set to an empty string if a setting was undefined. Given
that this feature isn't part of any official release yet, there's no
need to worry about backwards compatibility, really. Change the
documentation accordingly.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some setenv() implementations (e.g. the one in OpenBSD's stdlib)
segfault if we pass a NULL value. Only set environment variables if the
corresponding settings are defined to avoid this.

Note that this is a minor behaviour change as environment variables were
supposed to be set to an empty string if a setting was undefined. Given
that this feature isn't part of any official release yet, there's no
need to worry about backwards compatibility, really. Change the
documentation accordingly.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui_plain: automatically lookup mimetype when mimetype-file is set</title>
<updated>2011-07-19T09:30:07Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2011-07-19T08:51:58Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=d01c600c179593a53162a9d4e3040ecfc5078fdc'/>
<id>d01c600c179593a53162a9d4e3040ecfc5078fdc</id>
<content type='text'>
For sites that do not want to configure mime types by hand but
still want the correct mime type for 'plain' blobs, configuring
a mime type file is made possible. This is handy since such a
file is normally already provided (at least on Linux systems).

Also, this reflects the gitweb option '$mimetypes_file'

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For sites that do not want to configure mime types by hand but
still want the correct mime type for 'plain' blobs, configuring
a mime type file is made possible. This is handy since such a
file is normally already provided (at least on Linux systems).

Also, this reflects the gitweb option '$mimetypes_file'

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>guess default branch from HEAD</title>
<updated>2011-06-20T18:42:19Z</updated>
<author>
<name>Julius Plenz</name>
<email>plenz@cis.fu-berlin.de</email>
</author>
<published>2011-04-07T10:59:24Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=d711de55280c3c9c10cfda4e24c8f3b3015217b2'/>
<id>d711de55280c3c9c10cfda4e24c8f3b3015217b2</id>
<content type='text'>
This is a saner alternative than hardcoding the default branch to be
"master". The add_repo() function will now check for a symbolic ref in
repo_path/HEAD. If there is a suitable one, overwrite repo-&gt;defbranch
with it. Note that you'll need to strip the newline from the file (-&gt;
len-17).

If HEAD is a symbolic link pointing directly to a branch below
refs/heads/, do a readlink() instead to find the ref name.

Signed-off-by: Julius Plenz &lt;plenz@cis.fu-berlin.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a saner alternative than hardcoding the default branch to be
"master". The add_repo() function will now check for a symbolic ref in
repo_path/HEAD. If there is a suitable one, overwrite repo-&gt;defbranch
with it. Note that you'll need to strip the newline from the file (-&gt;
len-17).

If HEAD is a symbolic link pointing directly to a branch below
refs/heads/, do a readlink() instead to find the ref name.

Signed-off-by: Julius Plenz &lt;plenz@cis.fu-berlin.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not provide a default value for `module-link`</title>
<updated>2011-06-15T08:40:13Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T08:13:15Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=3fbaf097153b239b092d11a178ace96671f9f3ec'/>
<id>3fbaf097153b239b092d11a178ace96671f9f3ec</id>
<content type='text'>
The old default value was an abomination which never should have been
allowed to see the light of day.

This patch removes the default, which is a backwards incompatible change
with low probability of causing anyone any real trouble (a repo with
submodules, displayed by cgit using the default value of `module-link`,
is very unlikely to actually generate working links).

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old default value was an abomination which never should have been
allowed to see the light of day.

This patch removes the default, which is a backwards incompatible change
with low probability of causing anyone any real trouble (a repo with
submodules, displayed by cgit using the default value of `module-link`,
is very unlikely to actually generate working links).

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree.c: add support for path-selected submodule links</title>
<updated>2011-06-15T08:40:13Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T08:04:13Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=6857bec50a52340fa6b85d626f49d45dd331ed0e'/>
<id>6857bec50a52340fa6b85d626f49d45dd331ed0e</id>
<content type='text'>
The current 'repo.module-link' option is sufficient when all gitlinks
in a repository can be converted to commit links in a uniform way, but
not when different submodules/paths needs different settings.

This patch adds support for 'repo.module-link.&lt;path&gt;', which will be
used for linking to submodules at paths matching one such entry.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current 'repo.module-link' option is sufficient when all gitlinks
in a repository can be converted to commit links in a uniform way, but
not when different submodules/paths needs different settings.

This patch adds support for 'repo.module-link.&lt;path&gt;', which will be
used for linking to submodules at paths matching one such entry.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-06-15T08:40:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T08:40:00Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=8729d251a900b2e6e22cc4c93a2193fd8a2b9acf'/>
<id>8729d251a900b2e6e22cc4c93a2193fd8a2b9acf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cgitrc.5.txt: document repo.module-link</title>
<updated>2011-06-15T08:39:43Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T07:58:42Z</published>
<link rel='alternate' type='text/html' href='http://www.hjemli.net/git/cgit/commit/?id=46ca32e04319caf9dd65f9de47704d637547ad23'/>
<id>46ca32e04319caf9dd65f9de47704d637547ad23</id>
<content type='text'>
The global module-link option can be overridden per repo, but this has
never been documented.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The global module-link option can be overridden per repo, but this has
never been documented.

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

