Skip to content

forget: fix ignored RESTIC_HOST environment variable#5327

Merged
MichaelEischer merged 1 commit intorestic:masterfrom
MichaelEischer:fix-forget-hostname-default
Mar 31, 2025
Merged

forget: fix ignored RESTIC_HOST environment variable#5327
MichaelEischer merged 1 commit intorestic:masterfrom
MichaelEischer:fix-forget-hostname-default

Conversation

@MichaelEischer
Copy link
Copy Markdown
Member

@MichaelEischer MichaelEischer commented Mar 31, 2025

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

Fix the initialization order of the snapshot filter. This was already broken in restic 0.17.0.

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

Fixes #5325

Checklist

  • 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'm done! This pull request is ready for review.

@MichaelEischer MichaelEischer force-pushed the fix-forget-hostname-default branch from 9664da6 to e1f7522 Compare March 31, 2025 16:10
Copy link
Copy Markdown
Contributor

@rawtaz rawtaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the quickest fixes ever.

@MichaelEischer MichaelEischer merged commit 6684d1d into restic:master Mar 31, 2025
11 checks passed
@MichaelEischer MichaelEischer deleted the fix-forget-hostname-default branch March 31, 2025 17:21
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.

restic forget doesn't respect $RESTIC_HOST

2 participants