]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/check-ignore.c
treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'
[thirdparty/git.git] / builtin / check-ignore.c
index 97108ccb9ce2a3391737d723384ed8b89f7036bc..28b8f14999f506f68926d43f6c4e91046ef3c9ff 100644 (file)
@@ -34,8 +34,8 @@ static const struct option check_ignore_options[] = {
 
 static void output_pattern(const char *path, struct path_pattern *pattern)
 {
-       char *bang  = (pattern && pattern->flags & EXC_FLAG_NEGATIVE)  ? "!" : "";
-       char *slash = (pattern && pattern->flags & EXC_FLAG_MUSTBEDIR) ? "/" : "";
+       char *bang  = (pattern && pattern->flags & PATTERN_FLAG_NEGATIVE)  ? "!" : "";
+       char *slash = (pattern && pattern->flags & PATTERN_FLAG_MUSTBEDIR) ? "/" : "";
        if (!nul_term_line) {
                if (!verbose) {
                        write_name_quoted(path, stdout, '\n');