diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-05-22 14:15:14 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-05-22 14:15:14 +0900 |
| commit | 9e0f06d55df5855178ff41342937943604f6e97c (patch) | |
| tree | 496489bd5c449b78420c301d2b00c82b42fe7031 /utf8.h | |
| parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) | |
| parent | 4dde7b8799dec0e7aecb04fdc55c656e674cff6f (diff) | |
| download | git-9e0f06d55df5855178ff41342937943604f6e97c.tar.gz | |
Sync with Git 2.14.4
* maint-2.14:
Git 2.14.4
Git 2.13.7
verify_path: disallow symlinks in .gitmodules
update-index: stat updated files earlier
verify_dotfile: mention case-insensitivity in comment
verify_path: drop clever fallthrough
skip_prefix: add case-insensitive variant
is_{hfs,ntfs}_dotgitmodules: add tests
is_ntfs_dotgit: match other .git files
is_hfs_dotgit: match other .git files
is_ntfs_dotgit: use a size_t for traversing string
submodule-config: verify submodule names as paths
Diffstat (limited to 'utf8.h')
| -rw-r--r-- | utf8.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -52,8 +52,13 @@ int mbs_chrlen(const char **text, size_t *remainder_p, const char *encoding); * The path should be NUL-terminated, but we will match variants of both ".git\0" * and ".git/..." (but _not_ ".../.git"). This makes it suitable for both fsck * and verify_path(). + * + * Likewise, the is_hfs_dotgitfoo() variants look for ".gitfoo". */ int is_hfs_dotgit(const char *path); +int is_hfs_dotgitmodules(const char *path); +int is_hfs_dotgitignore(const char *path); +int is_hfs_dotgitattributes(const char *path); typedef enum { ALIGN_LEFT, |
