Merge branch 'jk/open-dotgitx-with-nofollow'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:22 +0000 (14:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:22 +0000 (14:00 -0700)
commit204333b015a663a339c855c72b86034203b66a6a
tree04978dc454e8dbb85ab406e1149934ff9c99e158
parent98164e9585e02e31dcf1377a553efe076c15f8c6
parentadcd9f54729e41aa63c3a1b80a19023ea8ede203
Merge branch 'jk/open-dotgitx-with-nofollow'

It does not make sense to make ".gitattributes", ".gitignore" and
".mailmap" symlinks, as they are supposed to be usable from the
object store (think: bare repositories where HEAD:.mailmap etc. are
used).  When these files are symbolic links, we used to read the
contents of the files pointed by them by mistake, which has been
corrected.

* jk/open-dotgitx-with-nofollow:
  mailmap: do not respect symlinks for in-tree .mailmap
  exclude: do not respect symlinks for in-tree .gitignore
  attr: do not respect symlinks for in-tree .gitattributes
  exclude: add flags parameter to add_patterns()
  attr: convert "macro_ok" into a flags field
  add open_nofollow() helper
attr.c
dir.c
git-compat-util.h
mailmap.c
t/t0008-ignores.sh
t/t4203-mailmap.sh