summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http-fetch.c1
-rw-r--r--local-fetch.c1
-rw-r--r--ssh-fetch.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 1aad39b..36af3e5 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -1226,6 +1226,7 @@ int main(int argc, const char **argv)
int arg = 1;
int rc = 0;
+ setup_ident();
setup_git_directory();
git_config(git_default_config);
diff --git a/local-fetch.c b/local-fetch.c
index b216bdd..4bf86fb 100644
--- a/local-fetch.c
+++ b/local-fetch.c
@@ -210,6 +210,7 @@ int main(int argc, const char **argv)
char **commit_id;
int arg = 1;
+ setup_ident();
setup_git_directory();
git_config(git_default_config);
diff --git a/ssh-fetch.c b/ssh-fetch.c
index 6e16568..c7d8fa8 100644
--- a/ssh-fetch.c
+++ b/ssh-fetch.c
@@ -132,6 +132,7 @@ int main(int argc, char **argv)
prog = getenv("GIT_SSH_PUSH");
if (!prog) prog = "git-ssh-upload";
+ setup_ident();
setup_git_directory();
git_config(git_default_config);