Re: [PATCH 0/5] disallow symlinks for .gitignore and .gitattributes

2016-11-02 Thread Jeff King
On Wed, Nov 02, 2016 at 12:46:28PM -0700, Stefan Beller wrote: > On Wed, Nov 2, 2016 at 6:04 AM, Jeff King wrote: > > > > > attr.c| 58 > > --- > > $ git diff --stat origin/master..origin/sb/attr |grep attr.c > attr.c

Re: [PATCH 0/5] disallow symlinks for .gitignore and .gitattributes

2016-11-02 Thread Stefan Beller
On Wed, Nov 2, 2016 at 6:04 AM, Jeff King wrote: > > attr.c| 58 > --- $ git diff --stat origin/master..origin/sb/attr |grep attr.c attr.c | 531 +- >From a cursory read of your series

[PATCH 0/5] disallow symlinks for .gitignore and .gitattributes

2016-11-02 Thread Jeff King
I noticed in a nearby discussion that we will follow in-filesystem symlinks for in-tree .gitignore and .gitattributes files, but not when those files are read out of the index (e.g., when switching branches). This series teaches git to open those files with O_NOFOLLOW (when it is available) to get