You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As GitPython is in maintenance mode, I won't be adding any new features. However, I added a check to throw an exception specific to worktrees, letting people know the feature is not supported that way.
Hi @fooishbar , the reason for closing this issue is still valid, despite the recent major release. The latter just means there have been breaking API changes, that could affect people negatively.
@fooishbar I don't, but that means nothing. Most people might help themselves by using GitPython to call git in a more pythonic fashion, which is why this library is still used a lot.
Steps to reproduce (assumes GIT >= 2.5 and a repo with at least 2 branches)
git checkout <whatever>git worktree add /tmp/foo another_branch/tmp/fooimport git; git.Repo('.')in Pythongit.exc.InvalidGitRepositoryError