Skip to content
Snippets Groups Projects
Commit 8994b24e authored by Antoine Lambert's avatar Antoine Lambert
Browse files

loader: Fix empty pack file handling since dulwich 0.21

dulwich >= 0.21 raises an AssertionError when the pack is empty
rather than setting the PackData version and length to None.

So do not try to access the pack file when its size is 0.

Fixes #4747
parent c3fb58bc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment