Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-10-22 04:58:01 +0400
committerJunio C Hamano <gitster@pobox.com>2008-10-22 04:58:01 +0400
commit6af50f7536d559f891d08597203ba605726511d6 (patch)
tree3f72c088340951d221afc6162c7ec30b96826cdc /builtin-fetch.c
parentd67dd17b336a1f39760324b6cc05eaee17b5f124 (diff)
parent59c69c0c656ebce2f7ce870b4913512597a98390 (diff)
Merge branch 'rs/alloc-ref'
* rs/alloc-ref: make alloc_ref_from_str() the new alloc_ref() use alloc_ref_from_str() everywhere add alloc_ref_with_prefix()
Diffstat (limited to 'builtin-fetch.c')
-rw-r--r--builtin-fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c
index ee93d3a93d..e008ee92ab 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -521,8 +521,8 @@ static void find_non_local_tags(struct transport *transport,
will_fetch(head, ref->old_sha1))) {
string_list_insert(ref_name, &new_refs);
- rm = alloc_ref_from_str(ref_name);
- rm->peer_ref = alloc_ref_from_str(ref_name);
+ rm = alloc_ref(ref_name);
+ rm->peer_ref = alloc_ref(ref_name);
hashcpy(rm->old_sha1, ref_sha1);
**tail = rm;