diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-10-21 17:58:01 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-10-21 17:58:01 -0700 |
| commit | 6af50f7536d559f891d08597203ba605726511d6 (patch) | |
| tree | 3f72c088340951d221afc6162c7ec30b96826cdc /builtin-fetch.c | |
| parent | Merge branch 'jk/fix-ls-files-other' (diff) | |
| parent | make alloc_ref_from_str() the new alloc_ref() (diff) | |
| download | git-6af50f7536d559f891d08597203ba605726511d6.tar.gz git-6af50f7536d559f891d08597203ba605726511d6.zip | |
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.c | 4 |
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; |
