aboutsummaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-29 13:18:51 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-29 13:18:51 -0800
commit02a20d1038d965ffaef3604f00afcce0e88abccb (patch)
tree491264573ac0dbae744e6943b831e54cfd949bf6 /builtin/fetch.c
parent77cdf0f802f23d409a773bd5f8a736f50ae8baf5 (diff)
parent97ba642bcf918de028b2e77165c5210cf3f462e5 (diff)
downloadgit-02a20d1038d965ffaef3604f00afcce0e88abccb.tar.gz
git-02a20d1038d965ffaef3604f00afcce0e88abccb.tar.xz
Merge branch 'nd/maint-refname-in-hierarchy-check'
* nd/maint-refname-in-hierarchy-check: Fix incorrect ref namespace check
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 0481c169c..ab186332f 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -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;
/*