Merge branch 'nd/maint-refname-in-hierarchy-check'

* nd/maint-refname-in-hierarchy-check:
  Fix incorrect ref namespace check
This commit is contained in:
Junio C Hamano
2012-01-29 13:18:51 -08:00
3 changed files with 4 additions and 4 deletions

View File

@ -585,7 +585,7 @@ static void find_non_local_tags(struct transport *transport,
for_each_ref(add_existing, &existing_refs);
for (ref = transport_get_remote_refs(transport); ref; ref = ref->next) {
if (prefixcmp(ref->name, "refs/tags"))
if (prefixcmp(ref->name, "refs/tags/"))
continue;
/*