Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply: file commited with CRLF should roundtrip diff and apply
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index eef1a7b67de48d1c929921549889112fe1f5d934..ba22f4acefa262cc1029bcf8360edb21c0635953 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-230,7
+230,7
@@
static int filter_refs(const char *refname, const struct object_id *oid,
{
struct ref_filter *filter = (struct ref_filter *)data;
- if (wildmatch(filter->pattern, refname, 0
, NULL
))
+ if (wildmatch(filter->pattern, refname, 0))
return 0;
return filter->fn(refname, oid, flags, filter->cb_data);
}