Sync with Git 2.17.1
* maint: (25 commits) Git 2.17.1 Git 2.16.4 Git 2.15.2 Git 2.14.4 Git 2.13.7 fsck: complain when .gitmodules is a symlink index-pack: check .gitmodules files with --strict unpack-objects: call fsck_finish() after fscking objects fsck: call fsck_finish() after fscking objects fsck: check .gitmodules content fsck: handle promisor objects in .gitmodules check fsck: detect gitmodules files fsck: actually fsck blob data fsck: simplify ".git" check index-pack: make fsck error message more specific 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 ...
This commit is contained in:
5
utf8.h
5
utf8.h
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user