commit - 8ccaacf7a3bb2401fa09ec42bf513ed344c38e04
commit + 2447376a9e03c1c05e18d3505684688f64120665
blob - a79d7dd7434b10a9409ff691c9007f3e6df37b8b
blob + 5253edbcfff6745b73f46a4bee50db449a385316
--- dulwich/client.py
+++ dulwich/client.py
branch=None,
progress=None,
depth=None,
- ref_prefix=[],
+ ref_prefix=[b"HEAD", b"refs/"],
filter_spec=None,
protocol_version: Optional[int] = None,
) -> Repo:
] = None,
progress: Optional[Callable[[bytes], None]] = None,
depth: Optional[int] = None,
- ref_prefix: Optional[List[bytes]] = [],
+ ref_prefix: Optional[List[bytes]] = [b"HEAD", b"refs/"],
filter_spec: Optional[bytes] = None,
protocol_version: Optional[int] = None,
) -> FetchPackResult:
*,
progress: Optional[Callable[[bytes], None]] = None,
depth: Optional[int] = None,
- ref_prefix=[],
+ ref_prefix=[b"HEAD", b"refs/"],
filter_spec=None,
protocol_version: Optional[int] = None,
):
pack_data,
progress=None,
depth=None,
- ref_prefix=[],
+ ref_prefix=[b"HEAD", b"refs/"],
filter_spec=None,
protocol_version: Optional[int] = None,
):
determine_wants=None,
progress=None,
depth=None,
- ref_prefix=[],
+ ref_prefix=[b"HEAD", b"refs/"],
filter_spec=None,
**kwargs,
):
pack_data,
progress=None,
depth=None,
- ref_prefix: Optional[List[bytes]] = [],
+ ref_prefix: Optional[List[bytes]] = [b"HEAD", b"refs/"],
filter_spec: Optional[bytes] = None,
protocol_version: Optional[int] = None,
) -> FetchPackResult:
pack_data,
progress=None,
depth=None,
- ref_prefix=[],
+ ref_prefix=[b"HEAD", b"refs/"],
filter_spec=None,
protocol_version: Optional[int] = None,
):