git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git bundle create produces inconsistent bundle

From
ALAndre Loconte <andre.loconte@protonmail.com>
Date
Jan 7, 2020, 17:44 UTC
Message-ID
<QBxpUR_NauPk0G8X2KKsqzlrfyxNuA4OoNR3Dm1KpHMNEELiSUxKr_IDM_qghObDt4aVv-bjg1ZQtCYRgxArdGsK52wCuO1LbsqzlHBto-k=@protonmail.com>
Hello,
I am running into an issue where "git bundle create" doesn't always produce the same bundle, provided the exact same arguments and the exact same repo.
Where it gets tricky is that:
- I cannot reproduce the issue with random repos from Github (tried with ~10 repos and 30 bundles per repo);
- I cannot reproduce the issue with the same OS and git version on different hardware ;
- I can reproduce the issue on colleagues' workstation (environment is identical down to the hardware, see below).
Environment:
- GNU/Linux 5.3.0-24-generic Ubuntu 19.10 x86_64 ;
- git version 2.20.1 ;
- Intel Xeon Silver 4114 CPU @ 2.20GHz × 20 ;
- 4 × Hynix HMA81GR7CJR8N-VK 8GB DDR4-2666 ECC.
I have put together a bash PoC [1]. And there are some example output in the comments (consistent [2], inconsistent [3]).

[1] https://gist.github.com/alct/05cc9a2b4657d51669c96cb22cd5c4a6 [2] https://gist.github.com/alct/05cc9a2b4657d51669c96cb22cd5c4a6#gistcomment-3130206 [3] https://gist.github.com/alct/05cc9a2b4657d51669c96cb22cd5c4a6#gistcomment-3130213

I cannot share the affected repos but I can run any diagnostic tool against them.
Would you have any clue on what could produce such behavior?
Best,
A.L.
Next: Jeff King
Message 1 of 2 in “Git bundle create produces inconsistent bundle”
  1. Andre LoconteJan 7, 2020
  2. Jeff KingJan 7, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.