Re: [PATCH v5 3/3] cat-file: add --follow-symlinks to --batch

2015-05-12 Thread Junio C Hamano
David Turner writes: > On Tue, 2015-05-12 at 13:22 -0700, Junio C Hamano wrote: > >> Are there other cases? The only other case I think of is when the >> link resolves cleanly inside the tree, which you already handle. Funny double-inclusion ;-) > While updating the tests, I noticed another tw

Re: [PATCH v5 3/3] cat-file: add --follow-symlinks to --batch

2015-05-12 Thread David Turner
On Tue, 2015-05-12 at 13:07 -0700, Junio C Hamano wrote: > David Turner writes: > > >> * I am not sure if HEAD:link that points at HEAD:link should be > >>reported as "missing". It may be better to report the original > >>without any dereferencing just like a link that points at outside