summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 258e93a)
raw | patch | inline | side by side (parent: 258e93a)
author | Matthias Lederhofer <matled@gmx.net> | |
Thu, 13 Jul 2006 11:07:59 +0000 (13:07 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 14 Jul 2006 04:50:22 +0000 (21:50 -0700) |
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c | patch | blob | history |
diff --git a/upload-pack.c b/upload-pack.c
index b18eb9ba0dbe8b5020aaaa698d98a4d1b76aa49c..94aa0dab4866f86f197dc84956db5e19601a603a 100644 (file)
--- a/upload-pack.c
+++ b/upload-pack.c
if (fd == 3)
/* emergency quit */
fd = 2;
+ if (fd == 2) {
+ xwrite(fd, data, sz);
+ return sz;
+ }
return safe_write(fd, data, sz);
}
p = data;