Commit d16a6d6b authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use gzip -n

parent d9d869d0
......@@ -199,7 +199,7 @@ func handleGetArchive(env gitEnv, format string, repoPath string, w http.Respons
compressCmd = nil
case "tar.gz":
archiveFormat = "tar"
compressCmd = exec.Command("gzip", "-c")
compressCmd = exec.Command("gzip", "-c", "-n")
case "tar.bz2":
archiveFormat = "tar"
compressCmd = exec.Command("bzip2", "-c")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment