Prevent NPE on invalid diff (#17197)
* Prevent NPE on invalid diff If ParseCompareInfo returns a nil compare info the defer function needs to ensure that it does not attempt to close the HeadGitRepo. Fix #17193 Signed-off-by: Andrew Thornton <art27@cantab.net> * add TEST Co-authored-by: 6543 <6543@obermui.de>tokarchuk/v1.17
parent
3bbdce2601
commit
206ea10b45
Loading…
Reference in new issue