The Git index version used by a repository is set when the repository is cloned. If the user has a non-default Git config likefeature.manyFiles=true, index versions above the default of 2 may be used. On the other hand, GitPython, and consequently rpkg, do not support anything above 2. Create repositories that can be manipulated by rpkg by forcing index version 2 when cloning.
The Git index version used by a repository is set when the repository is cloned. If the user has a non-default Git config like
feature.manyFiles=true, index versions above the default of 2 may be used. On the other hand, GitPython, and consequently rpkg, do not support anything above 2. Create repositories that can be manipulated by rpkg by forcing index version 2 when cloning.Upstream issue:
https://github.com/gitpython-developers/GitPython/issues/1960
Original report at Fedora Package Maintainer Docs:
https://pagure.io/fedora-docs/package-maintainer-docs/pull-request/173