vendor/libgit2/src/ignore.h in rugged-1.3.2.3 vs vendor/libgit2/src/ignore.h in rugged-1.4.2
- old
+ new
@@ -24,11 +24,11 @@
* As you traverse from one directory to another, you can push and pop
* directories onto git_ignores list efficiently.
*/
typedef struct {
git_repository *repo;
- git_buf dir; /* current directory reflected in ign_path */
+ git_str dir; /* current directory reflected in ign_path */
git_attr_file *ign_internal;
git_vector ign_path;
git_vector ign_global;
size_t dir_root; /* offset in dir to repo root */
int ignore_case;
@@ -46,10 +46,10 @@
enum {
GIT_IGNORE_UNCHECKED = -2,
GIT_IGNORE_NOTFOUND = -1,
GIT_IGNORE_FALSE = 0,
- GIT_IGNORE_TRUE = 1,
+ GIT_IGNORE_TRUE = 1
};
extern int git_ignore__lookup(int *out, git_ignores *ign, const char *path, git_dir_flag dir_flag);
/* command line Git sometimes generates an error message if given a