Nodes in trees were always printed with a `+` in diff, regardless of
whether or not a dir was added or removed. Let's use the mode we were
passed in printDir().

Closes #3685
This commit is contained in:
Alexander Neumann
2022-04-10 10:56:19 +02:00
parent 40791fff64
commit 53ac0bfe85
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
Bugfix: Fix the diff command
There was a bug in the `diff` command, it would always show files in a removed
directory as added. We've fixed that.
https://github.com/restic/restic/issues/3685
https://github.com/restic/restic/pull/3686