Re: [PATCH v2 1/2] diff --no-index: follow symlinks

2017-01-13 Thread Junio C Hamano
Dennis Kaarsemaker writes: > Git's diff machinery does not follow symlinks, which makes sense as git > itself also does not, but stores the symlink destination. > > In --no-index mode however, it is useful for diff to to follow symlinks, > matching the behaviour of

[PATCH v2 1/2] diff --no-index: follow symlinks

2017-01-13 Thread Dennis Kaarsemaker
Git's diff machinery does not follow symlinks, which makes sense as git itself also does not, but stores the symlink destination. In --no-index mode however, it is useful for diff to to follow symlinks, matching the behaviour of ordinary diff. A new --no-dereference (name copied from diff) option