WIP: Fix GitPython issue with GitDB in coder.py.

This commit is contained in:
Paul Gauthier 2023-05-09 12:41:38 -07:00
parent e72ea5f2f0
commit 97cf30b0f0

View file

@ -80,7 +80,8 @@ class Coder:
self.console.print("[red bold]Files are in different git repos.")
return
repo = git.Repo(repo_paths.pop())
# https://github.com/gitpython-developers/GitPython/issues/427
repo = git.Repo(repo_paths.pop(), odbt=git.GitDB)
new_files = []
for fname in self.fnames: