mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 19:38:57 +00:00
forget: Remove unneeded index loading
This commit is contained in:
parent
fe1013e779
commit
1dd72693f9
@ -112,11 +112,6 @@ func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
err = repo.LoadIndex()
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
// parse arguments as hex strings
|
// parse arguments as hex strings
|
||||||
var ids []string
|
var ids []string
|
||||||
for _, s := range args {
|
for _, s := range args {
|
||||||
|
Loading…
Reference in New Issue
Block a user