Re: [BUG] Cloning with git HEAD fails for some repositories
From: Eric Wong <hidden>
Date: 2019-03-22 16:50:36
Jeff King [off-list ref] wrote:
On Fri, Mar 22, 2019 at 09:21:14AM +0100, Wolfgang Denk wrote:quoted
Dear Jeff, In message [ref] you wrote:quoted
However, so does the parent of 17966c0a63d. So I don't know if the u-boot-efi repo is just broken, or if there's some other different bug at play.git fsck reports a number of dangling tags, but no other issues:Weird. I had set http.maxrequests to "1" to give more readable output from GIT_CURL_VERBOSE, etc. It fails with that setting, but not with the default of 5. Which certainly seems like a bug, but one that has been there for a while (at least since v2.9.x, which I tested).
I couldn't reproduce an error after porting your patch to master (commit 041f5ea1cf987a40 "The third batch"): https://80x24.org/spew/20190322163449.25362-1-e@80x24.org/raw So you might've hit an ephemeral error (bad connection, HTTP server restarting, etc). GIT_CURL_VERBOSE=1 git \ -c http.maxRequests=1 -c http.followRedirects=true clone \ http://git.denx.de/u-boot-efi.git