<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/config.c, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-01-06T01:22:51Z</updated>
<entry>
<title>use result of open(2) to check for presence</title>
<updated>2006-01-06T01:22:51Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2006-01-05T11:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=88fb958baa1066af23348c44a78b812be2344088'/>
<id>urn:sha1:88fb958baa1066af23348c44a78b812be2344088</id>
<content type='text'>
Not that the stat against open race would matter much in this context,
but that simplifies
the code a bit. Also some diagnostics added (why the open failed)

Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>\n usage in stderr output</title>
<updated>2005-12-22T07:09:40Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2005-12-15T07:47:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7246ed438c541650c2cd50e4e98b43226f60da0c'/>
<id>urn:sha1:7246ed438c541650c2cd50e4e98b43226f60da0c</id>
<content type='text'>
fprintf and die sometimes have missing/excessive "\n" in their arguments,
correct the strings where I think it would be appropriate.

Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>config.c: remove unnecessary header in minimum configuration file.</title>
<updated>2005-12-05T20:58:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-25T22:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=53e7181cd9927a8a194f4770c597744d96a113a2'/>
<id>urn:sha1:53e7181cd9927a8a194f4770c597744d96a113a2</id>
<content type='text'>
It is just silly to start the file called "config" with a
comment that says "This is the config file."

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>config.c: constness tightening to avoid compilation warning.</title>
<updated>2005-11-28T09:46:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-28T09:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0dccc7dceef03e4231b24c9e126110b338e1c1e1'/>
<id>urn:sha1:0dccc7dceef03e4231b24c9e126110b338e1c1e1</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Introduce i18n.commitencoding.</title>
<updated>2005-11-28T00:09:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-28T00:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e72dcec89c7cda7022d4ec2dd686e77deb5376e'/>
<id>urn:sha1:4e72dcec89c7cda7022d4ec2dd686e77deb5376e</id>
<content type='text'>
This is to hold what the project-local rule as to the
charset/encoding for the commit log message is.  Lack of it
defaults to utf-8.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>init-db: check template and repository format.</title>
<updated>2005-11-27T09:32:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-26T00:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4f629539cd99fb9fc68dbdc56812f291565d0f87'/>
<id>urn:sha1:4f629539cd99fb9fc68dbdc56812f291565d0f87</id>
<content type='text'>
This makes init-db repository version aware.

It checks if an existing config file says the repository being
reinitialized is of a wrong version and aborts before doing
further harm.

When copying the templates, it makes sure the they are of the
right repository format version.  Otherwise the templates are
ignored with an warning message.

It copies the templates before creating the HEAD, and if the
config file is copied from the template directory, reads it,
primarily to pick up the value of core.symrefsonly.

It changes the way the result of the filemode reliability test
is written to the configuration file using git_config_set().
The test is done even if the config file was copied from the
templates.

And finally, our own repository format version is written to the
config file.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>config.c: avoid shadowing global.</title>
<updated>2005-11-25T19:10:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-25T19:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a2f2bb354d920e3f1b7f4334d3656c77e9fb423'/>
<id>urn:sha1:3a2f2bb354d920e3f1b7f4334d3656c77e9fb423</id>
<content type='text'>
This is purely cosmetic, but avoid shadowing "FILE *config_file"
global in git_config_set_multivar() function.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Move diff.renamelimit out of default configuration.</title>
<updated>2005-11-22T07:00:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-22T06:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ce392f4826558357af2b2c7eb6ad876fdb53a91'/>
<id>urn:sha1:9ce392f4826558357af2b2c7eb6ad876fdb53a91</id>
<content type='text'>
Otherwise we would end up linking all the unneeded stuff into git-daemon
only to link with git_default_config.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Allow hierarchical section names</title>
<updated>2005-11-21T22:04:28Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-11-20T20:22:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b17e659dd4007cb1d3eb5ac32b524c0c5ab59601'/>
<id>urn:sha1:b17e659dd4007cb1d3eb5ac32b524c0c5ab59601</id>
<content type='text'>
A .git/config like follows becomes valid with this patch:

	[remote.junio]
		url = git://git.kernel.org/pub/scm/git/git.git
		pull = master:junio todo:todo +pu:pu

	[remote.ibook]
		url = ibook:git/
		pull = master:ibook
		push = master:quetzal

(This patch only does the ini file thing, git-fetch and friends still
ignore these values).

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-config-set: Properly terminate strings with '\0'</title>
<updated>2005-11-21T22:04:22Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-11-21T10:18:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3dd94e3b2e2f5b00512273f96ab5628c742c112c'/>
<id>urn:sha1:3dd94e3b2e2f5b00512273f96ab5628c742c112c</id>
<content type='text'>
When a lowercase version of the key was generated, it was not
terminated. Strangely enough, it worked on Linux and macosx anyway.
Just cygwin barfed.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
