git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git 2.38.0: Change in `git archive` output
@ 2022-10-16 21:57 kpcyrd
  2022-10-16 23:21 ` brian m. carlson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: kpcyrd @ 2022-10-16 21:57 UTC (permalink / raw)
  To: rb-general, arch-dev-public, git; +Cc: gitster, l.s.r

hello,

multiple people in Arch Linux noticed the output of our `git archive` 
command doesn't match the tarball served by github anymore.

First I suspected an update in our gzip package until I found this line 
in the git 2.38.0 release notes:

 > * Teach "git archive" to (optionally and then by default) avoid
 >   spawning an external "gzip" process when creating ".tar.gz" (and
 >   ".tgz") archives.

I've then found this commit that could be considered a breaking change 
in `git archive`:

https://github.com/git/git/commit/4f4be00d302bc52d0d9d5a3d4738bb525066c710

I don't know if there's some kind of gzip standard that could be used to 
align the git internal gzip implementation with gnu gzip.

I'm not saying this is necessarily a bug or regression but it makes it 
harder to reproduce github tar balls from a git repository. Just sharing 
what I've debugged. :)

cheers,
kpcyrd

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-17 19:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16 21:57 git 2.38.0: Change in `git archive` output kpcyrd
2022-10-16 23:21 ` brian m. carlson
2022-10-17  0:02 ` Jeff King
2022-10-17  0:51   ` brian m. carlson
2022-10-17 17:03     ` Jeff King
2022-10-17 19:14 ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).