X-Git-Url: https://git.octo.it/?p=git.git;a=blobdiff_plain;f=ssh-fetch.c;h=e3067b878e8721886c9fe61b136b46415165671d;hp=4eb9e04829b5925ea07c764239f91e801e158c78;hb=HEAD;hpb=b4a081b428c607f98c5d0a0eec8d543dc1f2abcd diff --git a/ssh-fetch.c b/ssh-fetch.c index 4eb9e048..e3067b87 100644 --- a/ssh-fetch.c +++ b/ssh-fetch.c @@ -132,6 +132,7 @@ int main(int argc, char **argv) if (!prog) prog = "git-ssh-upload"; setup_git_directory(); + git_config(git_default_config); while (arg < argc && argv[arg][0] == '-') { if (argv[arg][1] == 't') { @@ -158,6 +159,7 @@ int main(int argc, char **argv) } commit_id = argv[arg]; url = argv[arg + 1]; + write_ref_log_details = url; if (setup_connection(&fd_in, &fd_out, prog, url, arg, argv + 1)) return 1;