2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 11:28:54 +00:00

forget: Remove unneeded index loading

This commit is contained in:
Alexander Neumann 2016-10-24 14:01:23 +02:00
parent fe1013e779
commit 1dd72693f9

View File

@ -112,11 +112,6 @@ func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
return err
}
err = repo.LoadIndex()
if err != nil {
return err
}
// parse arguments as hex strings
var ids []string
for _, s := range args {