diff options
author | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-27 08:49:40 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-27 08:49:40 -0700 |
commit | 47888f0f3188c39e13e02ad8442c5e785d2ebcdd (patch) | |
tree | 61005dcaae75d1279d3b2231c7b59ef7e4f8d030 /daemon.c | |
parent | 4ae95682694a1cd05ee2029fe241ad90d43c8c0e (diff) | |
download | git-47888f0f3188c39e13e02ad8442c5e785d2ebcdd.tar.gz git-47888f0f3188c39e13e02ad8442c5e785d2ebcdd.tar.xz |
Restore chdir(".git")
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen) return -1; } + chdir(".git"); + /* * Security on the cheap. * |