t4205: sort log output in a hash-independent way
[gitweb.git] / builtin / send-pack.c
index 83cb125a685ec7dca267146567ecfcd0265a2295..b5427f75e34901ad8fa876cc6c53066211e4a2a0 100644 (file)
@@ -263,6 +263,9 @@ int cmd_send_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");
+               break;
        case protocol_v1:
        case protocol_v0:
                get_remote_heads(&reader, &remote_refs, REF_NORMAL,