Skip to content

fix: persist restored file modes in UpdateIndex (0.9 backport) - #70

Merged
EdmondDantes21 merged 1 commit into
release-0.9from
fix/preserve-file-mode-0.9
Oct 15, 2026
Merged

EdmondDantes21 merged 1 commit into
release-0.9from
fix/preserve-file-mode-0.9

Conversation

@EdmondDantes21

Copy link
Copy Markdown
Contributor
  • Backport of fix: persist restored file modes in UpdateIndex #69 to the 0.9 line for a 0.9.4 hotfix (0.9.3 + this fix only).
  • UpdateIndex now saves the index, so executable bits from the origin repo survive the commit (lost since 0.9.0).
  • Adds TestCommitPreservesFileMode; fails without the fix. Test seeds the origin with OriginRepo set because 0.9.3's Commit always calls UpdateIndex.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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