]> git.ipfire.org Git - thirdparty/git.git/blobdiff - upload-pack.c
Merge git-gui into ml/git-gui-exec-path-fix
[thirdparty/git.git] / upload-pack.c
index 94751477ab2d1e1ee28c291d3b1aaaa75e5fe3d4..83f3d2651ab3feee758178f86394627ffe4f76b0 100644 (file)
@@ -801,11 +801,12 @@ error:
        for (i = 0; i < data->want_obj.nr; i++) {
                struct object *o = data->want_obj.objects[i].item;
                if (!is_our_ref(o, data->allow_uor)) {
+                       error("git upload-pack: not our ref %s",
+                             oid_to_hex(&o->oid));
                        packet_writer_error(&data->writer,
                                            "upload-pack: not our ref %s",
                                            oid_to_hex(&o->oid));
-                       die("git upload-pack: not our ref %s",
-                           oid_to_hex(&o->oid));
+                       exit(128);
                }
        }
 }