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 committed 2022-04-10 10:56:19 +02:00
1 parent 40791fff64
commit 53ac0bfe85
2 files changed
+8 -1

No files matched your search

+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