From 07eb6c315b34bac8d698be41fecd0c26d542bb49 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Thu, 28 Mar 2024 23:46:58 +0100 Subject: [PATCH] add changelog for locking refactor --- changelog/unreleased/pull-4709 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 changelog/unreleased/pull-4709 diff --git a/changelog/unreleased/pull-4709 b/changelog/unreleased/pull-4709 new file mode 100644 index 000000000..5ffb2a6a6 --- /dev/null +++ b/changelog/unreleased/pull-4709 @@ -0,0 +1,10 @@ +Bugfix: Correct `--no-lock` handling of `ls` and `tag` command + +The `ls` command never locked the repository. This has been fixed. The old +behavior is still supported using `ls --no-lock`. The latter invocation also +works with older restic versions. + +The `tag` command erroneously accepted the `--no-lock` command. The command +now always requires an exclusive lock. + +https://github.com/restic/restic/pull/4709