-
Hi, I've tried to use the following to disable git diff renamed files search:
This did not work, and after some digging, i've found that GitPython hardcodes the Why is this flag hardcoded and is there a way around it? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
With this API there is no way around it unless the git command is used directly such as in |
Beta Was this translation helpful? Give feedback.
-
Hello! I've hit this issue as well. I'd like to try the repo.git.diff() approach as a workaround. Using the results from repo.git.diff(), is there an easy way to build a DiffIndex()? |
Beta Was this translation helpful? Give feedback.
-
would also like for this to be added! |
Beta Was this translation helpful? Give feedback.
With this API there is no way around it unless the git command is used directly such as in
repo.git.diff(…)
.If there is motivation, a PR could be added to disable rename tracking which I presume is in the interest of increased performance.