Closed
Description
0fdf6c3 changed the mode mask from 0o111
to 0o100
. We're encountering issues when committing files marked as executable:
After committing such a file with GitPython, our repo shows the following behavior:
# git status
On branch develop
nothing to commit, working directory clean
git status
shows everything as clean (as it should be).
But if we git stash
the changes:
# git stash
error: feeding unmodified <file> to diffcore
error: feeding unmodified <file> to diffcore
Saved working directory and index state WIP on develop: 6cdd426 ... (10136)
HEAD is now at 6cdd426 ... (10136)
And the stash turns up empty:
# git stash show
This is an issue for us because we end up in a dirty repo and can't execute some git commands anymore without resetting/stashing some inexistent changes.
I don't know what the rational behind the 0o100
mask is, but 0o111
works for our use case.
Metadata
Metadata
Assignees
Labels
No labels