mirror of
https://github.com/git/git.git
synced 2026-04-11 17:30:08 +02:00
Merge commit 'f9f6e2c' into nd/attr-match-optim-more
* commit 'f9f6e2c': exclude: do strcmp as much as possible before fnmatch dir.c: get rid of the wildcard symbol set in no_wildcard() Unindent excluded_from_list()
This commit is contained in:
2
dir.h
2
dir.h
@@ -9,7 +9,6 @@ struct dir_entry {
|
||||
};
|
||||
|
||||
#define EXC_FLAG_NODIR 1
|
||||
#define EXC_FLAG_NOWILDCARD 2
|
||||
#define EXC_FLAG_ENDSWITH 4
|
||||
#define EXC_FLAG_MUSTBEDIR 8
|
||||
|
||||
@@ -19,6 +18,7 @@ struct exclude_list {
|
||||
struct exclude {
|
||||
const char *pattern;
|
||||
int patternlen;
|
||||
int nowildcardlen;
|
||||
const char *base;
|
||||
int baselen;
|
||||
int to_exclude;
|
||||
|
||||
Reference in New Issue
Block a user