diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-11 06:27:23 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-11 06:27:23 (GMT) |
commit | 416449eaba1ebe48b1637d1f4b0e257604353373 (patch) | |
tree | acdd7a65a7c6e162e1705ae3ceb0a8ed905c46e2 /utf8.c | |
parent | 1af57f5d321aeb95dbdbe48bdb2b0e1e37528323 (diff) | |
parent | 8ff06de10c12ef1f796fcefb96166133965d510e (diff) | |
download | git-416449eaba1ebe48b1637d1f4b0e257604353373.zip git-416449eaba1ebe48b1637d1f4b0e257604353373.tar.gz git-416449eaba1ebe48b1637d1f4b0e257604353373.tar.bz2 |
Merge branch 'jk/symlinked-dotgitx-cleanup'
Various test and documentation updates about .gitsomething paths
that are symlinks.
* jk/symlinked-dotgitx-cleanup:
docs: document symlink restrictions for dot-files
fsck: warn about symlinked dotfiles we'll open with O_NOFOLLOW
t0060: test ntfs/hfs-obscured dotfiles
t7450: test .gitmodules symlink matching against obscured names
t7450: test verify_path() handling of gitmodules
t7415: rename to expand scope
fsck_tree(): wrap some long lines
fsck_tree(): fix shadowed variable
t7415: remove out-dated comment about translation
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -777,6 +777,11 @@ int is_hfs_dotgitattributes(const char *path) return is_hfs_dot_str(path, "gitattributes"); } +int is_hfs_dotmailmap(const char *path) +{ + return is_hfs_dot_str(path, "mailmap"); +} + const char utf8_bom[] = "\357\273\277"; int skip_utf8_bom(char **text, size_t len) |