Rename 'rebuild-index' to 'repair index'

The old name still works, but is deprecated.
This commit is contained in:
Michael Eischer committed 2023-05-01 15:16:44 +02:00
1 parent db459eda21
commit 118d599d0a
10 files changed
+57 -38

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ func (arch *Archiver) wrapLoadTreeError(id restic.ID, err error) error {
if arch.Repo.Index().Has(restic.BlobHandle{ID: id, Type: restic.TreeBlob}) {
err = errors.Errorf("tree %v could not be loaded; the repository could be damaged: %v", id, err)
} else {
err = errors.Errorf("tree %v is not known; the repository could be damaged, run `rebuild-index` to try to repair it", id)
err = errors.Errorf("tree %v is not known; the repository could be damaged, run `repair index` to try to repair it", id)
}
return err
}