Skip to content

Gitignore target symlink#363

Merged
futurepaul merged 1 commit intomasterfrom
gitignore-target-symlink
Mar 1, 2026
Merged

Gitignore target symlink#363
futurepaul merged 1 commit intomasterfrom
gitignore-target-symlink

Conversation

@futurepaul
Copy link
Collaborator

Summary

  • target/ (trailing slash) in .gitignore only matches directories, not symlinks. The shared cargo target setup creates a target -> .shared-target symlink, which was showing up as untracked. Adding target (no trailing slash) fixes this.
  • Also fixes a pre-existing clippy lint in vm-spawner (sort_by -> sort_by_key).

Test plan

  • git status no longer shows target as untracked

🤖 Generated with Claude Code

`target/` (with trailing slash) only ignores directories, not the
symlink created by the shared cargo target workflow
(`target -> .shared-target`). Add `target` without the trailing slash
so the symlink is also ignored.

See docs/shared-cargo-target.md for context.

Also fix a pre-existing clippy lint in vm-spawner (sort_by -> sort_by_key).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@futurepaul futurepaul merged commit a4c032c into master Mar 1, 2026
14 checks passed
@futurepaul futurepaul deleted the gitignore-target-symlink branch March 1, 2026 14:45
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