Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Windows: Freshly cloned repo appears dirty due to executable files #967

Closed
rojer opened this issue Sep 26, 2018 · 1 comment
Closed

Windows: Freshly cloned repo appears dirty due to executable files #967

rojer opened this issue Sep 26, 2018 · 1 comment

Comments

@rojer
Copy link

rojer commented Sep 26, 2018

On Windows, a freshly-cloned repo will appear dirty if it contains executable files.
The "change" is to them non-executable: mode 100755 -> 100644.
The repo is detected as dirty by both git.exe and go-git itself.

File modes on Windows is a pain. To that end, a workaround of setting core.filemode option to false on clone would be acceptable, but i couldn't find a way to do it.

@rojer
Copy link
Author

rojer commented Sep 26, 2018

closing in favor of #378

@rojer rojer closed this as completed Sep 26, 2018
@smola smola added the duplicate label Oct 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants