Re: advertised commit fetch using commit id fails

2019-06-14 Thread Jeff King
On Fri, Jun 14, 2019 at 11:27:10AM -0400, Jeff King wrote: > So in short, it was never supposed to work, but between bugs and > protocol vagaries, there are a few version and protocol combinations > where it did. I'd add that in protocol v2, the reachability restrictions are lifted (i.e., every s

Re: advertised commit fetch using commit id fails

2019-06-14 Thread Jeff King
On Fri, Jun 14, 2019 at 01:54:15PM +0300, Karen Arutyunov wrote: > git 2.22, in contrast to previous versions, fails to fetch advertised commit > using commit id: > > Is it a bug or advertised object semantics change? This is working as designed, but the behavior is a rather tricky historical cas

advertised commit fetch using commit id fails

2019-06-14 Thread Karen Arutyunov
Hello, git 2.22, in contrast to previous versions, fails to fetch advertised commit using commit id: $ git --version git version 2.22.0 $ git init git $ git -C git remote add origin https://github.com/git/git $ git ls-remote https://github.com/git/git | grep v2.21 2bb64867dc05d9a8432488ddc1d