summaryrefslogtreecommitdiffstats
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-10 22:42:51 +0200
committerJunio C Hamano <gitster@pobox.com>2017-07-10 22:42:51 +0200
commit0c6435a4d6a45d5947ed4f3a1f63172cdca00d36 (patch)
tree75007f01be703ddbc08de0df1cb48451263dbba2 /revision.c
parentMerge branch 'ab/sha1dc' (diff)
parentwildmatch: remove unused wildopts parameter (diff)
downloadgit-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.tar.xz
git-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.zip
Merge branch 'ab/wildmatch'
Minor code cleanup. * ab/wildmatch: wildmatch: remove unused wildopts parameter
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index e181ad1b70..9ff120b305 100644
--- a/revision.c
+++ b/revision.c
@@ -1142,7 +1142,7 @@ int ref_excluded(struct string_list *ref_excludes, const char *path)
if (!ref_excludes)
return 0;
for_each_string_list_item(item, ref_excludes) {
- if (!wildmatch(item->string, path, 0, NULL))
+ if (!wildmatch(item->string, path, 0))
return 1;
}
return 0;