Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/note-trees-record-blobs'
[gitweb.git]
/
builtin
/
replace.c
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 2336325ce330f5268800a7bc949c066ce028852c..80b152a86c4ea3d003b113ae0402a5f1fb701b3d 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)