{"thread":{"id":"54235","subject":"Caching Git Pull","startedAt":"2020-09-14T05:27:46Z","lastAt":"2020-09-14T08:39:09Z","messageCount":2,"participants":["Benson Muite","Son Luong Ngoc"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"405514","messageId":"492d0f93-578a-cf71-4d62-140471b33ae6@emailplus.org","threadId":"54235","inReplyTo":null,"subject":"Caching Git Pull","fromName":"Benson Muite","fromEmail":"benson_muite@emailplus.org","sentAt":"2020-09-14T05:27:34Z","receivedAt":"2020-09-14T05:27:46Z","isPatch":false,"sender":{"key":"benson_muite@emailplus.org","avatar":null},"body":"Hi,\n\nIs there some way I can add functionality for caching git pull to allow \ncontinuation of a partially complete pull from a git repository to a \nlocal machine. As an example the command wget -c allows continuation of \na partially complete download. This would be very helpful for large \ncommits which fail with:\n\nfatal: the remote end hung up unexpectedly\nfatal: early EOF\n\nRegards,\nBenson\n"},{"id":"405515","messageId":"90AE4B78-36E8-40B6-9D7C-E198E3004941@gmail.com","threadId":"54235","inReplyTo":"70DB3786-CB8E-4D82-9774-439AB2A79A8D@gmail.com","subject":"Re: Caching Git Pull","fromName":"Son Luong Ngoc","fromEmail":"sluongng@gmail.com","sentAt":"2020-09-14T08:39:00Z","receivedAt":"2020-09-14T08:39:09Z","isPatch":false,"sender":{"key":"sluongng@gmail.com","avatar":"https://avatars.githubusercontent.com/u/26684313?v=4"},"body":"Note: resend with plain-text format\n\nHi Benson,\n\n> On Sep 14, 2020, at 07:27, Benson Muite <benson_muite@emailplus.org> wrote:\n> \n> Hi,\n> \n> Is there some way I can add functionality for caching git pull to allow continuation of a partially complete pull from a git repository to a local machine. \n\nI believe there has been some recent works toward this direction with Packfile Uri feature [1] [2] where a packfile could be uploaded to\nCDN and then advertised by the hosting remote so that clients who enabled the feature can download the big part of the clone\nvia CDN instead.\n\n[1]: https://github.com/git/git/blob/master/Documentation/technical/packfile-uri.txt\n[2]: https://public-inbox.org/git/cover.1591821067.git.jonathantanmy@google.com/\n\nHowever I don't think any major Git hosting provider (Github, Bitbucket, Gitlab etc...) have started using this feature.\n\n> As an example the command wget -c allows continuation of a partially complete download. This would be very helpful for large commits which fail with:\n> \n> fatal: the remote end hung up unexpectedly\n> fatal: early EOF\n> \n> Regards,\n> Benson\n\nI will cc Jonathan Tan(author) to discuss more regarding path toward resumable git clone.\n\nCheers,\nSon Luong."}]}