Merge branch 'jk/upload-pack-keepalive' into maint
[gitweb.git] / upload-pack.c
index fb9be2a93767904a312f50b5403bc7d7441482e8..04a8707bb58e7411a2c272a2716e6b8b340a2c7e 100644 (file)
@@ -610,7 +610,7 @@ static void receive_needs(void)
                                die("invalid shallow line: %s", line);
                        object = parse_object(sha1);
                        if (!object)
-                               die("did not find object for %s", line);
+                               continue;
                        if (object->type != OBJ_COMMIT)
                                die("invalid shallow object %s", sha1_to_hex(sha1));
                        if (!(object->flags & CLIENT_SHALLOW)) {