Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch: pass ref prefixes when fetching
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 9f6d07683d0bb6ec5bf1cc8ca293d701c4e9f916..dae8a4a48dc65c7449e274c12872df8b3d236605 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-185,6
+185,9
@@
static struct ref *parse_git_refs(struct discovery *heads, int for_push)
PACKET_READ_GENTLE_ON_EOF);
switch (discover_version(&reader)) {
+ case protocol_v2:
+ die("support for protocol v2 not implemented yet");
+ break;
case protocol_v1:
case protocol_v0:
get_remote_heads(&reader, &list, for_push ? REF_NORMAL : 0,