Skip to content

fix(worktree): preserve newline before .worktrees#8

Merged
pld merged 2 commits intopld:mainfrom
ukanga:fix-gitignore
Apr 26, 2026
Merged

fix(worktree): preserve newline before .worktrees#8
pld merged 2 commits intopld:mainfrom
ukanga:fix-gitignore

Conversation

@ukanga
Copy link
Copy Markdown
Collaborator

@ukanga ukanga commented Apr 24, 2026

Summary

  • Preserve a missing trailing newline before appending .worktrees to .gitignore
  • Add a regression test covering an existing file without a final newline

Verification

  • cargo fmt --check
  • cargo test --test which_test

Closes #7

Copy link
Copy Markdown
Owner

@pld pld left a comment

Choose a reason for hiding this comment

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

thank you!

@pld pld enabled auto-merge (squash) April 26, 2026 01:12
@pld pld merged commit 76c070c into pld:main Apr 26, 2026
1 check passed
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.

fix(.gitignore): preserve newline when appending .worktrees

2 participants