<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/setup.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>Introduce core.sharedrepository</title>
<updated>2005-12-24T08:21:10Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-12-22T22:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=457f06d68e427bbf4f1a921877441a622a05e5c4'/>
<id>urn:sha1:457f06d68e427bbf4f1a921877441a622a05e5c4</id>
<content type='text'>
If the config variable 'core.sharedrepository' is set, the directories

	$GIT_DIR/objects/
	$GIT_DIR/objects/??
	$GIT_DIR/objects/pack
	$GIT_DIR/refs
	$GIT_DIR/refs/heads
	$GIT_DIR/refs/heads/tags

are set group writable (and g+s, since the git group may be not the primary
group of all users).

Since all files are written as lock files first, and then moved to
their destination, they do not have to be group writable.  Indeed, if
this leads to problems you found a bug.

Note that -- as in my first attempt -- the config variable is set in the
function which checks the repository format. If this were done in
git_default_config instead, a lot of programs would need to be modified
to call git_config(git_default_config) first.

[jc: git variables should be in environment.c unless there is a
 compelling reason to do otherwise.]

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>Merge branch 'jc/subdir'</title>
<updated>2005-11-30T19:09:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-30T19:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9cac9d368934f68e75810df95211a6522d4d139e'/>
<id>urn:sha1:9cac9d368934f68e75810df95211a6522d4d139e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not attempt to access literal dirname "GIT_OBJECT_DIRECTORY".</title>
<updated>2005-11-30T18:51:24Z</updated>
<author>
<name>Tommi Virtanen</name>
<email>tv@inoi.fi</email>
</author>
<published>2005-11-30T15:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0738fc2192109f946c033b3b003cb10aace9554e'/>
<id>urn:sha1:0738fc2192109f946c033b3b003cb10aace9554e</id>
<content type='text'>
Dereference the environment variable before using it.

Signed-off-by: Tommi Virtanen &lt;tv@inoi.fi&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>working from subdirectory: preparation</title>
<updated>2005-11-29T07:13:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-26T07:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ca0660816671f65546626b6e2c2038b6a347a8b'/>
<id>urn:sha1:4ca0660816671f65546626b6e2c2038b6a347a8b</id>
<content type='text'>
 - prefix_filename() is like prefix_path() but can be used to
   name any file on the filesystem, not the files that might go
   into the index file.

 - setup_git_directory_gently() tries to find the GIT_DIR, but does
   not die() if called outside a git repository.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>setup_git_directory(): check repository format version.</title>
<updated>2005-11-27T09:32:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-26T00:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=22752e4c43e1bc864eaf1c2c015031a2b5e98a3b'/>
<id>urn:sha1:22752e4c43e1bc864eaf1c2c015031a2b5e98a3b</id>
<content type='text'>
After figuring out the GIT_DIR location, make sure the
repository is of the right vintage, by calling
check_repository_format(). .

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Repository format version check.</title>
<updated>2005-11-27T09:32:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-25T23:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ab9cb76f661c1794800361c27bc5a515245aaaef'/>
<id>urn:sha1:ab9cb76f661c1794800361c27bc5a515245aaaef</id>
<content type='text'>
This adds the repository format version code, first done by
Martin Atukunda.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>setup_git_directory: make sure GIT_DIR is a valid repository.</title>
<updated>2005-11-25T23:43:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-25T23:43:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5e7bfe256755ef2862e960864db1edb829c82b77'/>
<id>urn:sha1:5e7bfe256755ef2862e960864db1edb829c82b77</id>
<content type='text'>
setup_git_directory() always trusted what the user told where
GIT_DIR was, and assumed that is a valid .git/ directory.  This
commit changes it to at least do the same level validation as
is_toplevel_directory() does -- has refs/, has objects/ unless
GIT_OBJECT_DIRECTORY is set, and has valid HEAD symlink or
symref.

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>Diff clean-up.</title>
<updated>2005-09-25T06:50:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-21T07:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b5ee137e56af8093391411389dd4b18416707ec'/>
<id>urn:sha1:6b5ee137e56af8093391411389dd4b18416707ec</id>
<content type='text'>
This is a long overdue clean-up to the code for parsing and passing
diff options.  It also tightens some constness issues.

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>
</feed>
