Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge_tools: preserve executable bit on resolve #5169

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

scott2000
Copy link
Contributor

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

Copy link
Contributor

@PhilipMetzger PhilipMetzger left a comment

Choose a reason for hiding this comment

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

LG, thanks for doing this before #4478 lands.

cli/tests/test_resolve_command.rs Outdated Show resolved Hide resolved
@scott2000 scott2000 force-pushed the merge-tool-executable branch 2 times, most recently from 273839e to aa6ad8f Compare December 21, 2024 23:35
Currently, `jj resolve` always sets the file to be non-executable
whenever a conflict is fully resolved. This is confusing, because it can
cause the executable bit to be lost even if every side agrees that the
file is executable.
@scott2000 scott2000 force-pushed the merge-tool-executable branch from aa6ad8f to 2232309 Compare December 22, 2024 02:38
@scott2000 scott2000 merged commit 7bf31c1 into jj-vcs:main Dec 22, 2024
18 checks passed
@scott2000 scott2000 deleted the merge-tool-executable branch December 22, 2024 16:12
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.

2 participants