From b71c52797a5c43ea2c5c3bbb995cdab3415c67f0 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Thu, 28 Jan 2021 21:21:54 +0100 Subject: [PATCH] find: correctly expand multiple blob ids For example `restic find --show-pack-id --blob f78dc991 5b9e4366 ddd8c7d4` would previously only expand one blob if all of them belong to the same file. --- cmd/restic/cmd_find.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/restic/cmd_find.go b/cmd/restic/cmd_find.go index f7b9e4c73..0986b5a13 100644 --- a/cmd/restic/cmd_find.go +++ b/cmd/restic/cmd_find.go @@ -394,7 +394,6 @@ func (f *Finder) findIDs(ctx context.Context, sn *restic.Snapshot) error { delete(f.blobIDs, idStr[:shortStr]) } f.out.PrintObject("blob", idStr, nodepath, parentTreeID.String(), sn) - break } }