summaryrefslogtreecommitdiff
path: root/pack-objects.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-09-19 11:38:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-19 11:38:34 -0700
commit04631848c4bd66bf802983482b7b99021da85c9f (patch)
tree6780c16454a9453ec1dbe87e27f6779a523f8918 /pack-objects.h
parentMerge branch 'jk/index-pack-threading-races' (diff)
parentread_index_unmerged(): remove unnecessary loop index adjustment (diff)
downloadtgif-04631848c4bd66bf802983482b7b99021da85c9f.tar.xz
Merge branch 'jp/index-with-corrupt-stages'
A broken reimplementation of Git could write an invalid index that records both stage #0 and higher stage entries for the same path. Notice and reject such an index, as there is no sensible fallback (we do not know if the broken tool wanted to resolve and forgot to remove higher stage entries, or if it wanted to unresolve and forgot to remove the stage#0 entry). * jp/index-with-corrupt-stages: read_index_unmerged(): remove unnecessary loop index adjustment read_index_from(): catch out of order entries when reading an index file
Diffstat (limited to 'pack-objects.h')
0 files changed, 0 insertions, 0 deletions