Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package_dir=
packages = find:
install_requires=
gitpython>3
dulwich>=0.20.49
dulwich>=0.21.5
pygit2>=1.10.0
pygtrie>=2.3.2
fsspec>=2021.7.0
Expand Down
3 changes: 2 additions & 1 deletion src/scmrepo/git/backend/dulwich/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ def fetch_refspecs(
from dulwich.errors import NotGitRepository
from dulwich.objectspec import parse_reftuples
from dulwich.porcelain import DivergedBranches, check_diverged, get_remote_repo
from dulwich.refs import DictRefsContainer

fetch_refs = []

Expand All @@ -623,7 +624,7 @@ def determine_wants(
) -> List[bytes]:
fetch_refs.extend(
parse_reftuples(
remote_refs,
DictRefsContainer(remote_refs),
self.repo.refs,
os.fsencode(refspecs)
if isinstance(refspecs, str)
Expand Down