From: H. Peter Anvin Date: Tue, 27 Sep 2005 15:49:40 +0000 (-0700) Subject: Restore chdir(".git") X-Git-Tag: v0.99.8~38^2~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=47888f0f3188c39e13e02ad8442c5e785d2ebcdd;p=git.git Restore chdir(".git") --- diff --git a/daemon.c b/daemon.c index 0ca6cef9..a369ce52 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. *