diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-10-22 04:58:01 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-22 04:58:01 +0400 |
commit | 6af50f7536d559f891d08597203ba605726511d6 (patch) | |
tree | 3f72c088340951d221afc6162c7ec30b96826cdc /remote.h | |
parent | d67dd17b336a1f39760324b6cc05eaee17b5f124 (diff) | |
parent | 59c69c0c656ebce2f7ce870b4913512597a98390 (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 'remote.h')
-rw-r--r-- | remote.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -55,9 +55,7 @@ struct refspec { extern const struct refspec *tag_refspec; -struct ref *alloc_ref(unsigned namelen); - -struct ref *alloc_ref_from_str(const char* str); +struct ref *alloc_ref(const char *name); struct ref *copy_ref_list(const struct ref *ref); |