summaryrefslogtreecommitdiff
path: root/builtin/describe.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-10 20:42:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-07-10 20:42:51 (GMT)
commit0c6435a4d6a45d5947ed4f3a1f63172cdca00d36 (patch)
tree75007f01be703ddbc08de0df1cb48451263dbba2 /builtin/describe.c
parent2db87328ef8246b7dbca90563fecc1e67c6274e6 (diff)
parent55d3426929d4d8c3dec402cabe6fb1bf27d6abad (diff)
downloadgit-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.zip
git-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.tar.gz
git-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.tar.bz2
Merge branch 'ab/wildmatch'
Minor code cleanup. * ab/wildmatch: wildmatch: remove unused wildopts parameter
Diffstat (limited to 'builtin/describe.c')
-rw-r--r--builtin/describe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/describe.c b/builtin/describe.c
index 70eb144..19eacdd 100644
--- a/builtin/describe.c
+++ b/builtin/describe.c
@@ -143,7 +143,7 @@ static int get_name(const char *path, const struct object_id *oid, int flag, voi
return 0;
for_each_string_list_item(item, &exclude_patterns) {
- if (!wildmatch(item->string, path + 10, 0, NULL))
+ if (!wildmatch(item->string, path + 10, 0))
return 0;
}
}
@@ -159,7 +159,7 @@ static int get_name(const char *path, const struct object_id *oid, int flag, voi
return 0;
for_each_string_list_item(item, &patterns) {
- if (!wildmatch(item->string, path + 10, 0, NULL))
+ if (!wildmatch(item->string, path + 10, 0))
break;
/* If we get here, no pattern matched. */