filter-repo: fix crash from assuming parent is an int
When filtering with --refs, parents can be a hash rather than an integer. There was a code path in RepoFilter._prunable() that was written assuming the first parent would always be an integer; fix it to handle a hash as well. Reported-by: Niklas Hambüchen <mail@nh2.me> Signed-off-by: Elijah Newren <newren@gmail.com>pull/135/head v2.28.0
parent
4b452da4ef
commit
d79ea709b7
Loading…
Reference in New Issue