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 ...@@ -199,7 +199,7 @@ func handleGetArchive(env gitEnv, format string, repoPath string, w http.Respons
compressCmd = nil compressCmd = nil
case "tar.gz": case "tar.gz":
archiveFormat = "tar" archiveFormat = "tar"
compressCmd = exec.Command("gzip", "-c") compressCmd = exec.Command("gzip", "-c", "-n")
case "tar.bz2": case "tar.bz2":
archiveFormat = "tar" archiveFormat = "tar"
compressCmd = exec.Command("bzip2", "-c") 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