projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae9568
)
Restore chdir(".git")
author
H. Peter Anvin
<hpa@smyrno.hos.anvin.org>
Tue, 27 Sep 2005 15:49:40 +0000
(08:49 -0700)
committer
H. Peter Anvin
<hpa@smyrno.hos.anvin.org>
Tue, 27 Sep 2005 15:49:40 +0000
(08:49 -0700)
daemon.c
patch
|
blob
|
history
diff --git
a/daemon.c
b/daemon.c
index 0ca6cef9391200a2a95c03de5659f72b70c46001..a369ce527eb4bd36528ce53da1048618d2373341 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.
*