Restore chdir(".git")

This commit is contained in:
H. Peter Anvin 2005-09-27 08:49:40 -07:00
parent 4ae9568269
commit 47888f0f31

View file

@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen)
return -1;
}
chdir(".git");
/*
* Security on the cheap.
*