Re: [PATCH 0/6] loose-object fsck fixes/tightening

2017-01-19 Thread John Szakmeister
On Fri, Jan 13, 2017 at 12:52 PM, Jeff King wrote: > On Fri, Jan 13, 2017 at 04:15:42AM -0500, John Szakmeister wrote: > >> > I did notice another interesting case when looking at this. Fsck ends up >> > in fsck_loose(), which has the sha1 and path of the loose object. It >> > passes the sha1 to f

[PATCH 0/6] loose-object fsck fixes/tightening

2017-01-13 Thread Jeff King
On Fri, Jan 13, 2017 at 04:15:42AM -0500, John Szakmeister wrote: > > I did notice another interesting case when looking at this. Fsck ends up > > in fsck_loose(), which has the sha1 and path of the loose object. It > > passes the sha1 to fsck_sha1(), and ignores the path entirely! > > > > So if y