Paths broken when adding multiple subdirs of /
tlotze opened this issue · comments
When I put
multiple directories with the same call, they will be stored as subdirectories of the common parent. However, when I do this with different subdirectories of the filesystem root, such as # bupstash put /etc /home
, the paths will be broken:
# bupstash list-contents
drwxr-xr-x - 2022/11/07 11:05:36 .
drwxr-xr-x - 2022/11/14 19:25:52 tc
drwxr-xr-x - 2022/02/08 09:41:19 ome
...
and bupstash get --pick
will also refer to those mangled paths.
Thanks for the report - it seems like this slipped through because the test suite can't test the root directory so easily.
This has been fixed in master and will be in the next bug fix release.
I will try to do a release in the next week or so we can get this fix out.