vendor/libgit2/src/attr_file.h in rugged-0.17.0.b6 vs vendor/libgit2/src/attr_file.h in rugged-0.17.0.b7

- old
+ new

@@ -21,10 +21,11 @@ #define GIT_ATTR_FNMATCH_FULLPATH (1U << 2) #define GIT_ATTR_FNMATCH_MACRO (1U << 3) #define GIT_ATTR_FNMATCH_IGNORE (1U << 4) #define GIT_ATTR_FNMATCH_HASWILD (1U << 5) #define GIT_ATTR_FNMATCH_ALLOWSPACE (1U << 6) +#define GIT_ATTR_FNMATCH_ICASE (1U << 7) extern const char *git_attr__true; extern const char *git_attr__false; extern const char *git_attr__unset; @@ -68,14 +69,14 @@ git_attr_file_stat_sig st; } cache_data; } git_attr_file; typedef struct { - git_buf full; - const char *path; - const char *basename; - int is_dir; + git_buf full; + char *path; + char *basename; + int is_dir; } git_attr_path; typedef enum { GIT_ATTR_FILE_FROM_FILE = 0, GIT_ATTR_FILE_FROM_INDEX = 1 @@ -94,10 +95,10 @@ extern void git_attr_file__free(git_attr_file *file); extern void git_attr_file__clear_rules(git_attr_file *file); extern int git_attr_file__parse_buffer( - git_repository *repo, const char *buf, git_attr_file *file); + git_repository *repo, void *parsedata, const char *buf, git_attr_file *file); extern int git_attr_file__lookup_one( git_attr_file *file, const git_attr_path *path, const char *attr,