]> arthur.barton.de Git - bup.git/commit
save: don't confuse metadata on duplicate files
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 25 Jan 2020 22:41:56 +0000 (23:41 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Apr 2020 19:24:35 +0000 (14:24 -0500)
commit781b2d7a82ed5255ee7c91adb0be988e855e44d8
treefed052d931356cbfa0dc916c0d6b3b18c4697b5a
parent9d396b357aea8be5ea1ed5cdc191b277ce25ebec
save: don't confuse metadata on duplicate files

If there are duplicate files, save removes the duplicates but
doesn't remove the duplicates from metadata, so the metadata
list gets messed up wrt. the file list. Fix this.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
(cherry picked from commit bd0dc75dd161d544133cc80d4858bc8ef1511a7e)
[rlb@defaultvalue.org: adapt to 0.3x]
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/save-cmd.py