@matheusbsbs / matheus-bagliano / commits / 47888f0f31
Fork 0

Restore chdir(".git")

H. Peter Anvin committed Sep 27, 2005 at 08:49 UTC 47888f0f3188c39e13e02ad8442c5e785d2ebcdd
1 file changed +2
daemon.c
+2
@@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen)
131 return -1;
132 }
133
134 + chdir(".git");
135 +
136 /*
137 * Security on the cheap.
138 *