Skip to content

Commit 44d3eda

Browse files
dschoderrickstolee
authored andcommitted
Merge upstreamable patches
Includes commits from these pull requests: #188 Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
2 parents 2f3e8fd + c8b4d8b commit 44d3eda

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

upload-pack.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,11 +757,12 @@ static void check_non_tip(struct upload_pack_data *data)
757757
for (i = 0; i < data->want_obj.nr; i++) {
758758
struct object *o = data->want_obj.objects[i].item;
759759
if (!is_our_ref(o, data->allow_uor)) {
760+
warning("git upload-pack: not our ref %s",
761+
oid_to_hex(&o->oid));
760762
packet_writer_error(&data->writer,
761763
"upload-pack: not our ref %s",
762764
oid_to_hex(&o->oid));
763-
die("git upload-pack: not our ref %s",
764-
oid_to_hex(&o->oid));
765+
exit(1);
765766
}
766767
}
767768
}

0 commit comments

Comments
 (0)