Merge branch 'jk/interpret-branch-name'
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index 4d6bf9237b5947c93dd366ccc1511f2a73649ae6..b0d58948a5b5bb1a96c43f0363408aab070bd1a9 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -405,7 +405,7 @@ int refname_match(const char *abbrev_name, const char *full_name)
 static char *substitute_branch_name(const char **string, int *len)
 {
        struct strbuf buf = STRBUF_INIT;
-       int ret = interpret_branch_name(*string, *len, &buf);
+       int ret = interpret_branch_name(*string, *len, &buf, 0);
 
        if (ret == *len) {
                size_t size;