Skip to content

Commit

Permalink
Merge pull request jelmer#1165 from jelmer/handle-missing
Browse files Browse the repository at this point in the history
Handle missing object in iterobjects_subset
  • Loading branch information
jelmer authored Apr 5, 2023
2 parents 3fdec68 + 6172f1c commit 173584f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dulwich/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,8 @@ def for_pack_subset(
except KeyError:
if not allow_missing:
raise
todo.add(off)
else:
todo.add(off)
done = set()
while todo:
off = todo.pop()
Expand Down

0 comments on commit 173584f

Please sign in to comment.