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

Better support for filemode changes #7961

Open
tumukei opened this issue Apr 3, 2025 · 1 comment
Open

Better support for filemode changes #7961

tumukei opened this issue Apr 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tumukei
Copy link

tumukei commented Apr 3, 2025

Version

0.14.13

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

GitButler can lose filemodes from files (mainly executable +x, from .sh files) when doing changes.
Also losing the filemode (as shown by git ls-files --stage) and manually adding it with git-update-index --chmod=+x file.sh in workspace is not displayed in any useful way and is not included in commit and push.

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)

@tumukei tumukei added the bug Something isn't working label Apr 3, 2025
@Byron
Copy link
Collaborator

Byron commented Apr 3, 2025

Thanks a lot for reporting, and sorry for the hassle!

I believe this will be a thing of the past with the upcoming major release. GitButler still hides the index completely, but will handle it (and changes to it) correctly nonetheless.

To try out if commits would work already in said upcoming release, you can type v3 outside of anything editable and commit with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants