index.add() method add support for "chmod=+x" #1156
-
On Windows OS, if you have a unix file with permission 100755 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unless you explicitly require GitPython for 'plumbing', it is recommended to use Even though I am closing this issue assuming you don't actually need plumbing, please let me know if you do which would make this a feature request or bugfix. Thank you |
Beta Was this translation helpful? Give feedback.
-
Thank you Byron. I actually used the |
Beta Was this translation helpful? Give feedback.
Unless you explicitly require GitPython for 'plumbing', it is recommended to use
Repo(path).git.add(…, chmod='+x')
, which supports all flags that git supports. You can read more about that in the respective section of the docs.Even though I am closing this issue assuming you don't actually need plumbing, please let me know if you do which would make this a feature request or bugfix. Thank you