{"thread":{"id":"65737","subject":"Git for Windows Failing to Clone","startedAt":"2026-06-02T11:32:17Z","lastAt":"2026-06-03T12:42:55Z","messageCount":2,"participants":["Dylan Carlyle","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"544491","messageId":"CAJKusd6WJUUVhbyN_-XHkGWVYeNe_=K2U3tZoezPWFG3+OG_zw@mail.gmail.com","threadId":"65737","inReplyTo":null,"subject":"Git for Windows Failing to Clone","fromName":"Dylan Carlyle","fromEmail":"dylan@reftek.com","sentAt":"2026-06-02T11:31:56Z","receivedAt":"2026-06-02T11:32:17Z","isPatch":false,"body":"Thank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue):\n\nRan git clone user@ip_addres:repo\n\nWhat did you expect to happen? (Expected behavior):\n\nThe repo to be cloned\n\nWhat happened instead? (Actual behavior):\n\nremote: Enumerating objects: 57873, done.\nremote: Counting objects: 100% (57873/57873), done.\nremote: Compressing objects: 100% (32002/32002), done.\nfatal: pack has bad object at offset 460179591: inflate returned 1\nfatal: fetch-pack: invalid index-pack output\n\nWhat's different between what you expected and what actually happened?\n\nThe clone never finishes on Windows.\n\nAnything else you want to add:\n\nGit version on the remote server is 2.47.3\nThis works fine from Linux but fails on Windows.\n\n[System Info]\ngit version:\ngit version 2.54.0.windows.1\ncpu: x86_64\nbuilt from commit: 2b8a3ab140826ac423c2845ef81d4c6ac4f7bf3c\nsizeof-long: 4\nsizeof-size_t: 8\nshell-path: D:/git-sdk-64-build-installers/usr/bin/sh\nrust: disabled\nfeature: fsmonitor--daemon\n\n-- \nKind Regards,\n\nDylan Carlyle\nREFTEK Systems, Inc.\nSystems Administrator\n"},{"id":"544608","messageId":"b1239f9a-4a36-4645-a3a0-3f9bc32ba30a@gmx.de","threadId":"65737","inReplyTo":"CAJKusd6WJUUVhbyN_-XHkGWVYeNe_=K2U3tZoezPWFG3+OG_zw@mail.gmail.com","subject":"Re: Git for Windows Failing to Clone","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2026-06-03T12:42:53Z","receivedAt":"2026-06-03T12:42:55Z","isPatch":false,"body":"Hi Dylan,\n\nOn Wed, 3 Jun 2026, Dylan Carlyle wrote:\n\n> Thank you for filling out a Git bug report!\n> Please answer the following questions to help us understand your issue.\n> \n> What did you do before the bug happened? (Steps to reproduce your issue):\n> \n> Ran git clone user@ip_addres:repo\n> \n> What did you expect to happen? (Expected behavior):\n> \n> The repo to be cloned\n> \n> What happened instead? (Actual behavior):\n> \n> remote: Enumerating objects: 57873, done.\n> remote: Counting objects: 100% (57873/57873), done.\n> remote: Compressing objects: 100% (32002/32002), done.\n> fatal: pack has bad object at offset 460179591: inflate returned 1\n> fatal: fetch-pack: invalid index-pack output\n> \n> What's different between what you expected and what actually happened?\n> \n> The clone never finishes on Windows.\n> \n> Anything else you want to add:\n> \n> Git version on the remote server is 2.47.3\n> This works fine from Linux but fails on Windows.\n\nI guess that this is virtually identical to\nhttps://github.com/git-for-windows/git/issues/6265\n\nSince it works from Linux, but not from Windows, I strongly suspect the\nproblem to be related to that vexing 2GB/4GB problem induced by Git's\ncontinued use of `unsigned long` instead of `size_t`, which I am slowly\n(_very_ slowly) trying to address.\n\nYou can find out whether that effort might help you, by running `git repo\nstructure` on the original repository (I'd expect a blob whose unpacked\nsize is larger than 4GB).\n\nCiao,\nJohannes\n\n> \n> [System Info]\n> git version:\n> git version 2.54.0.windows.1\n> cpu: x86_64\n> built from commit: 2b8a3ab140826ac423c2845ef81d4c6ac4f7bf3c\n> sizeof-long: 4\n> sizeof-size_t: 8\n> shell-path: D:/git-sdk-64-build-installers/usr/bin/sh\n> rust: disabled\n> feature: fsmonitor--daemon\n> \n> -- \n> Kind Regards,\n> \n> Dylan Carlyle\n> REFTEK Systems, Inc.\n> Systems Administrator\n> \n> \n"}]}