diff options
author | Jeff King <peff@peff.net> | 2011-06-08 01:03:03 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-08 01:07:07 +0200 |
commit | 59a5775770e3e491b5af479b3bf72fb13ddd3dbf (patch) | |
tree | 6eb3dee6ba37b3d72f2c27f0b85a3af3ac604bd1 /remote.c | |
parent | consider only branches in guess_remote_head (diff) | |
download | git-59a5775770e3e491b5af479b3bf72fb13ddd3dbf.tar.xz git-59a5775770e3e491b5af479b3bf72fb13ddd3dbf.zip |
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.c')
-rw-r--r-- | remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -896,7 +896,7 @@ struct ref *alloc_ref(const char *name) return alloc_ref_with_prefix("", 0, name); } -static struct ref *copy_ref(const struct ref *ref) +struct ref *copy_ref(const struct ref *ref) { struct ref *cpy; size_t len; |