diff options
Diffstat (limited to 'ls-refs.c')
-rw-r--r-- | ls-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ static int send_ref(const char *refname, const struct object_id *oid, const char *refname_nons = strip_namespace(refname); struct strbuf refline = STRBUF_INIT; - if (!ref_match(&data->prefixes, refname)) + if (!ref_match(&data->prefixes, refname_nons)) return 0; strbuf_addf(&refline, "%s %s", oid_to_hex(oid), refname_nons); |