diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-07-10 20:42:51 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-10 20:42:51 (GMT) |
commit | 0c6435a4d6a45d5947ed4f3a1f63172cdca00d36 (patch) | |
tree | 75007f01be703ddbc08de0df1cb48451263dbba2 /builtin/name-rev.c | |
parent | 2db87328ef8246b7dbca90563fecc1e67c6274e6 (diff) | |
parent | 55d3426929d4d8c3dec402cabe6fb1bf27d6abad (diff) | |
download | git-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/name-rev.c')
-rw-r--r-- | builtin/name-rev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c index e21715f..c41ea7c 100644 --- a/builtin/name-rev.c +++ b/builtin/name-rev.c @@ -130,7 +130,7 @@ static int subpath_matches(const char *path, const char *filter) const char *subpath = path; while (subpath) { - if (!wildmatch(filter, subpath, 0, NULL)) + if (!wildmatch(filter, subpath, 0)) return subpath - path; subpath = strchr(subpath, '/'); if (subpath) |