diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-07-10 22:42:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-10 22:42:51 +0200 |
commit | 0c6435a4d6a45d5947ed4f3a1f63172cdca00d36 (patch) | |
tree | 75007f01be703ddbc08de0df1cb48451263dbba2 /builtin/name-rev.c | |
parent | Merge branch 'ab/sha1dc' (diff) | |
parent | wildmatch: remove unused wildopts parameter (diff) | |
download | git-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.tar.xz git-0c6435a4d6a45d5947ed4f3a1f63172cdca00d36.zip |
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 e21715f1d0..c41ea7c2a6 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) |