summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJohn Cai <johncai86@gmail.com>2023-10-13 17:39:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-10-13 18:43:29 (GMT)
commit2386535511d1181afd4e892e2a866ffe5e1d7d21 (patch)
treede06be51d889c1f33076a04b96a3dc8f79febca4 /config.c
parent43c8a30d150ecede9709c1f2527c8fba92c65f40 (diff)
downloadgit-2386535511d1181afd4e892e2a866ffe5e1d7d21.zip
git-2386535511d1181afd4e892e2a866ffe5e1d7d21.tar.gz
git-2386535511d1181afd4e892e2a866ffe5e1d7d21.tar.bz2
attr: read attributes from HEAD when bare repo
The motivation for 44451a2e5e (attr: teach "--attr-source=<tree>" global option to "git" , 2023-05-06), was to make it possible to use gitattributes with bare repositories. To make it easier to read gitattributes in bare repositories however, let's just make HEAD:.gitattributes the default. This is in line with how mailmap works, 8c473cecfd (mailmap: default mailmap.blob in bare repositories, 2012-12-13). Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions