Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t1003-read-tree-prefix.sh: use the $( ... ) construct for command substitution
[gitweb.git]
/
builtin
/
replace.c
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 8b597756880b2fc65462178adc9069113aeb9820..b62420a01af820225f23d08b4d0e885505640c77 100644
(file)
--- a/
builtin/replace.c
+++ b/
builtin/replace.c
@@
-36,7
+36,7
@@
static int show_reference(const char *refname, const unsigned char *sha1,
{
struct show_data *data = cb_data;
- if (!
fnmatch(data->pattern, refname, 0
)) {
+ if (!
wildmatch(data->pattern, refname, 0, NULL
)) {
if (data->format == REPLACE_FORMAT_SHORT)
printf("%s\n", refname);
else if (data->format == REPLACE_FORMAT_MEDIUM)