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 {