Commit 8533dae
committed
shallow: handle missing shallow commits gracefully
As pointed out by CodeQL, `lookup_commit()` can return NULL.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent ee2812a commit 8533dae
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
| 708 | + | |
| 709 | + | |
709 | 710 | | |
710 | 711 | | |
711 | 712 | | |
| |||
0 commit comments