summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-08-01 15:00:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-01 15:00:35 -0700
commit8ab19bc5de68c8929317f8aa694709b9e4b72956 (patch)
tree2b17acb16a898e2f135f8e8e6565898c996569ab /remote.h
parentMerge branch 'jc/streaming-filter' (diff)
parentclone: always fetch remote HEAD (diff)
downloadtgif-8ab19bc5de68c8929317f8aa694709b9e4b72956.tar.xz
Merge branch 'jk/clone-detached'
* jk/clone-detached: clone: always fetch remote HEAD make copy_ref globally available consider only branches in guess_remote_head t: add tests for cloning remotes with detached HEAD
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);