From 59a5775770e3e491b5af479b3bf72fb13ddd3dbf Mon Sep 17 00:00:00 2001 From: Jeff King Date: Tue, 7 Jun 2011 19:03:03 -0400 Subject: make copy_ref globally available This is a useful function, and we have already made the similar alloc_ref and copy_ref_list available. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- remote.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote.h') diff --git a/remote.h b/remote.h index 888d7c15de..9a30a9dba6 100644 --- a/remote.h +++ b/remote.h @@ -70,7 +70,7 @@ struct refspec { extern const struct refspec *tag_refspec; struct ref *alloc_ref(const char *name); - +struct ref *copy_ref(const struct ref *ref); struct ref *copy_ref_list(const struct ref *ref); int check_ref_type(const struct ref *ref, int flags); -- cgit v1.2.3