Accept dates before 2000/01/01 when specified as seconds since the epoch
[gitweb.git] / upload-pack.c
index 498bf50eb86f9e437dae89fc631499b73a8ec116..d3a09e78d56642db9b1fb1b1ead34ff60dd8c923 100644 (file)
@@ -119,6 +119,7 @@ static void create_pack_file(void)
                int i;
                struct rev_info revs;
 
+               close(lp_pipe[0]);
                pack_pipe = fdopen(lp_pipe[1], "w");
 
                if (create_full_pack)