~iptq/garbage#5: 
garbage restore loses directories on restore error

$ mkdir foo; echo one > foo/name
$ garbage put foo
$ mkdir foo; echo two > foo/name
$ garbage restore
[0]	2020-06-14 00:15:56 -05:00	//home/nathan/foo
which file to restore? [0..0]
0
moving "/home/nathan/.local/share/Trash/files/1592111756114.foo" to "//home/nathan/foo"
Error: Directory not empty (os error 39)
$ cat foo/name
two
$ garbage list
Status
REPORTED
Submitter
~remexre
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
No labels applied.