summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-11-08 19:38:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-11-08 19:38:00 (GMT)
commit9196a2f8bd46d36a285bdfa03b4540ed3f01f671 (patch)
tree32eb21c35949096b65f887f5d52ddc41d2edb2ae /cache.h
parente5becd042f821ac0a38077460a5fe816876a6504 (diff)
parent360a3261a471ee59760b0743bbb27d3a60849ae2 (diff)
downloadgit-9196a2f8bd46d36a285bdfa03b4540ed3f01f671.zip
git-9196a2f8bd46d36a285bdfa03b4540ed3f01f671.tar.gz
git-9196a2f8bd46d36a285bdfa03b4540ed3f01f671.tar.bz2
Merge branch 'jc/upload-pack-send-symref' into maint
One long-standing flaw in the pack transfer protocol used by "git clone" was that there was no way to tell the other end which branch "HEAD" points at, and the receiving end needed to guess. A new capability has been defined in the pack protocol to convey this information so that cloning from a repository with more than one branches pointing at the same commit where the HEAD is at now reliably sets the initial branch in the resulting repository. * jc/upload-pack-send-symref: t5570: Update for clone-progress-to-stderr branch t5570: Update for symref capability clone: test the new HEAD detection logic connect: annotate refs with their symref information in get_remote_head() connect.c: make parse_feature_value() static upload-pack: send non-HEAD symbolic refs upload-pack: send symbolic ref information as capability upload-pack.c: do not pass confusing cb_data to mark_our_ref() t5505: fix "set-head --auto with ambiguous HEAD" test
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 88d373d..415d883 100644
--- a/cache.h
+++ b/cache.h
@@ -1107,7 +1107,6 @@ extern struct ref **get_remote_heads(int in, char *src_buf, size_t src_len,
extern int server_supports(const char *feature);
extern int parse_feature_request(const char *features, const char *feature);
extern const char *server_feature_value(const char *feature, int *len_ret);
-extern const char *parse_feature_value(const char *feature_list, const char *feature, int *len_ret);
extern struct packed_git *parse_pack_index(unsigned char *sha1, const char *idx_path);