diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-05 23:26:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-05 23:26:15 +0100 |
commit | 9c96ab987243724915fedd7ea051438b8e553e07 (patch) | |
tree | db510f7ef3762672972dd23b2be64cda759e26a2 /ls-refs.c | |
parent | Merge branch 'ab/commit-graph-write-progress' (diff) | |
parent | ls-refs: filter refs using namespace-stripped name (diff) | |
download | git-9c96ab987243724915fedd7ea051438b8e553e07.tar.xz git-9c96ab987243724915fedd7ea051438b8e553e07.zip |
Merge branch 'jt/namespaced-ls-refs-fix'
Fix namespace support in protocol v2.
* jt/namespaced-ls-refs-fix:
ls-refs: filter refs using namespace-stripped name
Diffstat (limited to 'ls-refs.c')
-rw-r--r-- | ls-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ static int send_ref(const char *refname, const struct object_id *oid, if (ref_is_hidden(refname_nons, refname)) return 0; - 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); |