Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
protocol: introduce enum protocol_version value protocol_v2
[gitweb.git]
/
builtin
/
fetch-pack.c
diff --git
a/builtin/fetch-pack.c
b/builtin/fetch-pack.c
index 85d4faf76c3a53cafd9cc6955877ba7ff10188fe..b2374ddbbf58bb077423c32885a051c3405f6485 100644
(file)
--- a/
builtin/fetch-pack.c
+++ b/
builtin/fetch-pack.c
@@
-201,6
+201,8
@@
int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
PACKET_READ_GENTLE_ON_EOF);
switch (discover_version(&reader)) {
+ case protocol_v2:
+ die("support for protocol v2 not implemented yet");
case protocol_v1:
case protocol_v0:
get_remote_heads(&reader, &ref, 0, NULL, &shallow);