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:
authorJeff King <peff@peff.net>2011-06-08 03:03:03 +0400
committerJunio C Hamano <gitster@pobox.com>2011-06-08 03:07:07 +0400
commit59a5775770e3e491b5af479b3bf72fb13ddd3dbf (patch)
tree6eb3dee6ba37b3d72f2c27f0b85a3af3ac604bd1 /remote.h
parent61adfd30974a6c49b3d07275e9f2c9fc44bf779c (diff)
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h2
1 files changed, 1 insertions, 1 deletions
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);