provide a nice @{...} syntax to always mean the current branch reflog
[gitweb.git] / builtin-archive.c
index 32737d31621e8d1a900d944f97fcaae43d56a12e..f613ac25164beadb4874d8a07b6bbac62796a530 100644 (file)
@@ -74,6 +74,7 @@ static int run_remote_archiver(const char *remote, int argc,
        /* Now, start reading from fd[0] and spit it out to stdout */
        rv = recv_sideband("archive", fd[0], 1, 2);
        close(fd[0]);
+       close(fd[1]);
        rv |= finish_connect(pid);
 
        return !!rv;