summaryrefslogtreecommitdiff
path: root/ssh-upload.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-30 11:09:33 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-30 11:09:33 -0800
commit9cac9d368934f68e75810df95211a6522d4d139e (patch)
tree6587296cef3998501dd38886d20e80cfd84342ff /ssh-upload.c
parent5401f3040b61e11da79d676e42aacfa9f1131083 (diff)
parent99e01692063cc48adee19e1f738472a579c14ca2 (diff)
downloadgit-9cac9d368934f68e75810df95211a6522d4d139e.tar.gz
Merge branch 'jc/subdir'
Diffstat (limited to 'ssh-upload.c')
-rw-r--r--ssh-upload.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh-upload.c b/ssh-upload.c
index 603abcc8c3..b675a0b1f1 100644
--- a/ssh-upload.c
+++ b/ssh-upload.c
@@ -121,6 +121,9 @@ int main(int argc, char **argv)
prog = getenv(COUNTERPART_ENV_NAME);
if (!prog) prog = COUNTERPART_PROGRAM_NAME;
+
+ setup_git_directory();
+
while (arg < argc && argv[arg][0] == '-') {
if (argv[arg][1] == 'w')
arg++;