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

Changing file mode on NTFS #866

Open
@AutomateAaron

Description

@AutomateAaron

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions