Remove workaround for GitPython incorrectly populating blobs for submodule changes, when using diff
Our weblate_update_git.py script implements an own merge strategy and so it needs to access the elements within the diff, to decide how to merge. Currently we need a workaround for submodule changes, done by remote (main git).
The upstream issue is tracked at: https://github.com/gitpython-developers/GitPython/issues/891
If that is solved, we can remove the workaround.
<code class="python"> 480 if not isWikiPo(path): 481 try: 482 blob = i.b_blob 483 index.updateFile(path, blob) 484 except ValueError: [...] </code>