<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/init-db.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>2005-12-24T08:21:10Z</updated>
<entry>
<title>git-init-db: initialize shared repositories with --shared</title>
<updated>2005-12-24T08:21:10Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-12-22T22:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=af6e277c5eddbcf82582b4bbd3e50b36aa61a20a'/>
<id>urn:sha1:af6e277c5eddbcf82582b4bbd3e50b36aa61a20a</id>
<content type='text'>
Now you can say

	git-init-db --shared

if you want other users to be able to push into that repository.

[jc: info/ and objects/info/ need to be group writable if the
 repository is shared --- otherwise packs and refs files cannot
 be updated.]

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>init-db: check extra arguments and complain.</title>
<updated>2005-12-06T06:29:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-06T06:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4a62eaed317e260b0bdb0ce5f340757d2a6dfef1'/>
<id>urn:sha1:4a62eaed317e260b0bdb0ce5f340757d2a6dfef1</id>
<content type='text'>
"git-init-db junk" does not complain but just ignores "junk".
Die with the usage string in such a case.

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>init-db::copy_file() - use copy_fd()</title>
<updated>2005-11-05T19:07:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-05T19:07:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=32276c8059908874afb7a2db039ccc7bcfd84ec7'/>
<id>urn:sha1:32276c8059908874afb7a2db039ccc7bcfd84ec7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Create object subdirectories on demand (phase II)</title>
<updated>2005-10-28T09:01:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-09T09:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9106c097ad87577019544f45fda11c4d73986597'/>
<id>urn:sha1:9106c097ad87577019544f45fda11c4d73986597</id>
<content type='text'>
This removes the unoptimization.  The previous round does not mind
missing fan-out directories, but still makes sure they exist, lest
older versions choke on a repository created/packed by it.

This round does not play that nicely anymore -- empty fan-out
directories are not created by init-db, and will stay removed by
prune-packed.  The prune command also removes empty fan-out directories.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Test in git-init-db if the filemode can be trusted</title>
<updated>2005-10-26T23:48:26Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-25T23:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e24317b4d093e4b148996172d0b749f09a0e6f2e'/>
<id>urn:sha1:e24317b4d093e4b148996172d0b749f09a0e6f2e</id>
<content type='text'>
... and if not, write an appropriate .git/config. Of course, that happens
only if no config file was yet created (by a template or a hook).

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>Add git-symbolic-ref</title>
<updated>2005-10-02T06:19:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junio@twinsun.com</email>
</author>
<published>2005-09-30T21:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8098a178b26dc7a158d129a092a5b78da6d12b72'/>
<id>urn:sha1:8098a178b26dc7a158d129a092a5b78da6d12b72</id>
<content type='text'>
This adds the counterpart of git-update-ref that lets you read
and create "symbolic refs".  By default it uses a symbolic link
to represent ".git/HEAD -&gt; refs/heads/master", but it can be compiled
to use the textfile symbolic ref.

The places that did 'readlink .git/HEAD' and 'ln -s refs/heads/blah
.git/HEAD' have been converted to use new git-symbolic-ref command, so
that they can deal with either implementation.

Signed-off-by: Junio C Hamano &lt;junio@twinsun.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix git-init-db creating crap directories.</title>
<updated>2005-09-20T00:41:13Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2005-09-20T00:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f961c196cbb475e612a4fb082b33efde71e7a03'/>
<id>urn:sha1:1f961c196cbb475e612a4fb082b33efde71e7a03</id>
<content type='text'>
The base target directory for the templates copying was initialized
to git_dir, but git_dir[len] is not zero but / at the time we do the
initialization. This is not what we want for our target directory string
since we pass it to mkdir(), so make it zero-terminated manually.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Retire support for old environment variables.</title>
<updated>2005-09-09T21:48:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-09T21:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a9ab586a5db015d200dfdadcf5876d62f15dd36c'/>
<id>urn:sha1:a9ab586a5db015d200dfdadcf5876d62f15dd36c</id>
<content type='text'>
We have deprecated the old environment variable names for quite a
while and now it's time to remove them.  Gone are:

    SHA1_FILE_DIRECTORIES AUTHOR_DATE AUTHOR_EMAIL AUTHOR_NAME
    COMMIT_AUTHOR_EMAIL COMMIT_AUTHOR_NAME SHA1_FILE_DIRECTORY

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Create objects/info/ directory in init-db.</title>
<updated>2005-08-20T17:59:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-20T09:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d57306c7945becfba70d3139af0a3a8f525a6bb5'/>
<id>urn:sha1:d57306c7945becfba70d3139af0a3a8f525a6bb5</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
