Skip to content

Preserve ignored mirror-local files#14

Merged
realityforge merged 1 commit into
mainfrom
codex/allow-ignored-mirror-files
Jul 15, 2026
Merged

Preserve ignored mirror-local files#14
realityforge merged 1 commit into
mainfrom
codex/allow-ignored-mirror-files

Conversation

@realityforge

Copy link
Copy Markdown
Owner

Summary

  • allow pull, plain sync, and remove to proceed when selected mirrors contain ignored local files
  • preserve ignored files and reject incoming tracked paths that would overwrite them
  • retain existing add, dirty config, ordinary untracked, and explicit autostash behavior
  • document the behavior and add command plus executable integration coverage

Why

Mirror-local configuration such as vendor/lib/replicant/user.bazelrc is intentionally ignored, but ignored-inclusive porcelain checks blocked normal Braid operations.

Validation

  • bazel run @rules_go//go -- fmt ./...
  • bazel test --test_env=PATH //...
  • bazel run @rules_go//go -- vet ./...
  • bazel run @rules_go//go -- run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.0 run
  • bazel test --test_env=PATH //integration/...

Allow pull, sync, and remove to proceed around ignored mirror-local files while retaining ordinary cleanliness checks. Reject incoming tracked paths that would overwrite ignored local state.
@realityforge realityforge self-assigned this Jul 15, 2026
@realityforge realityforge merged commit 2388cb0 into main Jul 15, 2026
7 checks passed
@realityforge realityforge deleted the codex/allow-ignored-mirror-files branch July 15, 2026 02:07
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