Restore chdir(".git")

maint
H. Peter Anvin 2005-09-27 08:49:40 -07:00
parent 4ae9568269
commit 47888f0f31
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen)
return -1;
}

chdir(".git");

/*
* Security on the cheap.
*