]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git svn: read global+system config for clone+init
authorEric Wong <normalperson@yhbt.net>
Sat, 14 Nov 2009 22:25:11 +0000 (14:25 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 14 Nov 2009 22:34:13 +0000 (14:34 -0800)
commit1a30582b43e137e16b3486d83bb86b0eb090e13d
tree95c98c5307d6752be0a0fa51faaa4e47c2a242aa
parent753dc384dc2c4ab3e1049f695425cebf41ff7e6b
git svn: read global+system config for clone+init

Since $GIT_DIR does not exist when initializing new repositories,
we can follow back to the global and system config files for
git.

The logic for this was originally introduced when
$GIT_DIR/config was the only config file git could read (back
when "git config" was "git repo-config"), so the function is
renamed to "read_git_config" instead of "read_repo_config".

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl