Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-28 11:50:53 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-28 12:58:50 +0300
commit01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca (patch)
treee98e8d08196d2bbc2a2326c1d439f17f301e9d4c /http-fetch.c
parent903b45fe1808f72e712a118bf115b9dc07d02420 (diff)
Don't force everybody to call setup_ident().
Back when only handful commands that created commit and tag were the only users of committer identity information, it made sense to explicitly call setup_ident() to pre-fill the default value from the gecos information. But it is much simpler for programs to make the call automatic when get_ident() is called these days, since many more programs want to use the information when updating the reflog. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 67dfb0a033..efd494a47f 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -1003,7 +1003,6 @@ int main(int argc, const char **argv)
int arg = 1;
int rc = 0;
- setup_ident();
setup_git_directory();
git_config(git_default_config);