Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upindex.add() method add support for "chmod=+x" #1021
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 |
Thank you Byron. I actually used the |
On Windows OS, if you have a unix file with permission 100755
-rwxr-xr-x
, aftergit add
, the staged file will miss thex
permission and becomes 100644-rw-r--r--
as shown ingit ls-files --stage
. git add has the option `--chmod=+x' to handle this problem. Can gitpython also add this feature in index.add() method?