Re: [PATCH 2/3] sha1-file: emit error if an alternate looks like a repository

2018-12-04 Thread Jeff King
On Wed, Dec 05, 2018 at 12:35:08PM +0900, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > > > Since 26125f6b9b ("detect broken alternates.", 2006-02-22) we've > > emitted an error if the alternates directory doesn't exist, but not > > for the common misstep of adding a path to

Re: [PATCH 2/3] sha1-file: emit error if an alternate looks like a repository

2018-12-04 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > Since 26125f6b9b ("detect broken alternates.", 2006-02-22) we've > emitted an error if the alternates directory doesn't exist, but not > for the common misstep of adding a path to another git repository as > an alternate, as opposed to its "objects" directory.