projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Restore chdir(".git")
[git.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index
0ca6cef
..
a369ce5
100644
(file)
--- 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.
*