Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-23 Thread Jeff King
On Fri, Mar 22, 2019 at 04:50:34PM +, Eric Wong wrote: > > 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

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Eric Wong
Heinrich Schuchardt wrote: > Yes, git HEAD + said patch works with this command: > git -c http.followRedirects=true clone http://git.denx.de/u-boot-efi.git > > http.followRedirects is documented in man 1 git-config. > > Why would git prior to 17966c0a63d25b1cc2dd1e98d30873e643bd581f~1 work > wi

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Heinrich Schuchardt
On 3/22/19 7:09 PM, Eric Wong wrote: > Heinrich Schuchardt wrote: >> On 3/22/19 5:50 PM, Eric Wong wrote: >>> I couldn't reproduce an error after porting your patch to >>> master (commit 041f5ea1cf987a40 "The third batch"): >>> https://80x24.org/spew/20190322163449.25362-...@80x24.org/raw >>> >>>

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Eric Wong
Heinrich Schuchardt wrote: > On 3/22/19 5:50 PM, Eric Wong wrote: > > I couldn't reproduce an error after porting your patch to > > master (commit 041f5ea1cf987a40 "The third batch"): > > https://80x24.org/spew/20190322163449.25362-...@80x24.org/raw > > > > So you might've hit an ephemeral error (

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Heinrich Schuchardt
On 3/22/19 5:50 PM, Eric Wong wrote: > Jeff King wrote: >> On Fri, Mar 22, 2019 at 09:21:14AM +0100, Wolfgang Denk wrote: >> >>> Dear Jeff, >>> >>> In message <20190322071231.ga26...@sigill.intra.peff.net> you wrote: However, so does the parent of 17966c0a63d. So I don't know if the

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Eric Wong
Jeff King wrote: > On Fri, Mar 22, 2019 at 09:21:14AM +0100, Wolfgang Denk wrote: > > > Dear Jeff, > > > > In message <20190322071231.ga26...@sigill.intra.peff.net> you wrote: > > > > > > However, so does the parent of 17966c0a63d. So I don't know if the > > > u-boot-efi repo is just broken, or

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Jeff King
On Fri, Mar 22, 2019 at 09:21:14AM +0100, Wolfgang Denk wrote: > Dear Jeff, > > In message <20190322071231.ga26...@sigill.intra.peff.net> you wrote: > > > > 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 bu

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Wolfgang Denk
Dear Jeff, In message <20190322071231.ga26...@sigill.intra.peff.net> you wrote: > > 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 issue

Re: [BUG] Cloning with git HEAD fails for some repositories

2019-03-22 Thread Jeff King
On Fri, Mar 22, 2019 at 07:02:41AM +0100, Heinrich Schuchardt wrote: > Initial cloning via > > git clone http://git.denx.de/u-boot-efi.git > > fails with git version 2.21.0.196.g041f5ea1cf > > git version 2.1.4 works fine. > > Bisection points to this first bad commit: > 17966c0a63d25b1cc2

[BUG] Cloning with git HEAD fails for some repositories

2019-03-21 Thread Heinrich Schuchardt
Initial cloning via git clone http://git.denx.de/u-boot-efi.git fails with git version 2.21.0.196.g041f5ea1cf git version 2.1.4 works fine. Bisection points to this first bad commit: 17966c0a63d25b1cc2dd1e98d30873e643bd581f http: avoid disconnecting on 404s for loose objects Please, fix th