Avoid spawning gzip in git archive
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 40 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | archive: replace write_or_die() calls with write_block_or_die()archive-tar.c | +16 | 14 replies | |
| 2/2 | archive: avoid spawning `gzip`archive-tar.c | +25 | 18 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Rohit Ashiwal | Junio C Hamano | Johannes Schindelin |
|---|---|---|---|
| Series | Original-patch-by Original-patch-by Original-patch-by Original-patch-by | Helped-by | Helped-by |
| 1/2 | |||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/2] Avoid spawning gzip in git archive
When creating .tar.gz archives with git archive, we let gzip handle the compression part. But that is not even necessary, as we already require zlib (to compress our loose objects). It is also unfortunate, as it requires gzip to be in the PATH (which is not the case e.g. with MinGit for Windows, which tries to bundle just the bare minimum of files to make Git work non-interactively, for use with 3rd-party applications requiring Git).
This patch series resolves this conundrum by teaching git archive the trick to gzip-compress in-process.
Rohit Ashiwal (2):
archive: replace write_or_die() calls with write_block_or_die()
archive: avoid spawning gzip
archive-tar.c | 54 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 13 deletions(-)
base-commit: 8104ec994ea3849a968b4667d072fedd1e688642
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-145%2Fdscho%2Fdont-spawn-gzip-in-archive-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-145/dscho/dont-spawn-gzip-in-archive-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/145
Signature · 1 line
gitgitgadget