Skip to content

prune: allow dry-run without taking a lock#5096

Merged
MichaelEischer merged 1 commit intorestic:masterfrom
MichaelEischer:prune-allow-dry-run
Nov 1, 2024
Merged

prune: allow dry-run without taking a lock#5096
MichaelEischer merged 1 commit intorestic:masterfrom
MichaelEischer:prune-allow-dry-run

Conversation

@MichaelEischer
Copy link
Copy Markdown
Member

@MichaelEischer MichaelEischer commented Oct 17, 2024

What does this PR change? What problem does it solve?

We already support forget --prune --no-lock --dry-run, but directly calling prune --no-lock --dry-run was not possible. Also allow this for the prune command.

Was the change previously discussed in an issue or on the forum?

No.

Checklist

  • I have read the contribution guidelines.
  • I have enabled maintainer edits.
  • I have added tests for all code changes.
  • I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I have run gofmt on the code in all commits.
  • All commit messages are formatted in the same style as the other commits in the repo.
  • I'm done! This pull request is ready for review.

@MichaelEischer MichaelEischer merged commit e18a2a0 into restic:master Nov 1, 2024
@MichaelEischer MichaelEischer deleted the prune-allow-dry-run branch November 1, 2024 14:34
@MichaelEischer MichaelEischer mentioned this pull request Nov 3, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant