diff --git a/internal/index/index.go b/internal/index/index.go index b571c55eb..1fb2c155e 100644 --- a/internal/index/index.go +++ b/internal/index/index.go @@ -523,6 +523,7 @@ func DecodeIndex(buf []byte, id restic.ID) (idx *Index, oldFormat bool, err erro debug.Log("index is probably old format, trying that") idx, err = decodeOldIndex(buf) + idx.ids = append(idx.ids, id) return idx, err == nil, err }