mirror of
https://github.com/git/git.git
synced 2024-12-01 14:03:34 +08:00
Merge branch 'nd/struct-pathspec'
* nd/struct-pathspec: declare 1-bit bitfields to be unsigned
This commit is contained in:
commit
276e017f2f
6
cache.h
6
cache.h
@ -503,13 +503,13 @@ extern int ie_modified(const struct index_state *, struct cache_entry *, struct
|
|||||||
struct pathspec {
|
struct pathspec {
|
||||||
const char **raw; /* get_pathspec() result, not freed by free_pathspec() */
|
const char **raw; /* get_pathspec() result, not freed by free_pathspec() */
|
||||||
int nr;
|
int nr;
|
||||||
int has_wildcard:1;
|
unsigned int has_wildcard:1;
|
||||||
int recursive:1;
|
unsigned int recursive:1;
|
||||||
int max_depth;
|
int max_depth;
|
||||||
struct pathspec_item {
|
struct pathspec_item {
|
||||||
const char *match;
|
const char *match;
|
||||||
int len;
|
int len;
|
||||||
int has_wildcard:1;
|
unsigned int has_wildcard:1;
|
||||||
} *items;
|
} *items;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user