index
:
tgif.git
2.36
Terin's Improved Git Fork
terinjokes@gmail.com
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
daemon.c
2
1 files changed, 2 insertions, 0 deletions
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.
*