Skip to content

docs: explain gitignore backup behavior - #1839

Draft
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:local/issue-687-gitignore-docs-tests
Draft

docs: explain gitignore backup behavior#1839
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:local/issue-687-gitignore-docs-tests

Conversation

@magrathean-uk

Copy link
Copy Markdown

Summary

Documents how parent .gitignore rules apply to nested backup sources and adds regression coverage for worktree and --no-require-git behavior.

Why

The behavior was easy to miss when configuring a nested source. The documentation and tests make the inheritance and opt-out behavior explicit.

Validation

  • Isolated parent-worktree and no-require-git backup/restore smoke checks
  • rustfmt --check
  • git diff --check

Fixes #687.

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.

gitignore not pass to child folder

1 participant