From 47888f0f3188c39e13e02ad8442c5e785d2ebcdd Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 27 Sep 2005 08:49:40 -0700 Subject: Restore chdir(".git") --- daemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 0ca6cef939..a369ce527e 100644 --- a/daemon.c +++ b/daemon.c @@ -131,6 +131,8 @@ static int upload(char *dir, int dirlen) return -1; } + chdir(".git"); + /* * Security on the cheap. * -- cgit v1.2.3