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

Changing file mode on NTFS #866

Open
AaronNBrock opened this issue Jun 16, 2018 · 0 comments
Open

Changing file mode on NTFS #866

AaronNBrock opened this issue Jun 16, 2018 · 0 comments
Labels

Comments

@AaronNBrock
Copy link

Greetings,

This is a bit of an edge case but due to dual booting with widows my data is stored on an NTFS filesystem using NTFS-3G (but on ubuntu). When I clone a project using git normally everything's fine and dandy, but when using the git.PlainClone example it shows all of the files of having been modified:

On branch master
Your branch is up-to-date with 'origin/master'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   .gitignore
        modified:   README.md
        modified:   deltadetector/__init__.py
        modified:   setup.py

And when I perform a git diff --cached it says that the file modes have been changed:

diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/deltadetector/__init__.py b/deltadetector/__init__.py
old mode 100644
new mode 100755
diff --git a/setup.py b/setup.py
old mode 100644
new mode 100755

Again, this doesn't happen when doing a git clone ..., only with go-git.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants