fix a crash when unstaging a file which has been removed from disk
commitaf0328d61e5353fc867c1731a5dcb969f805aaba
authorStefan Sperling <stsp@stsp.name>
Mon, 7 Oct 2024 11:51:44 +0000 (7 11:51 +0000)
committerThomas Adam <thomas@xteddy.org>
Mon, 7 Oct 2024 19:25:20 +0000 (7 20:25 +0100)
tree97779e9e0ae7472adedd69eb55f1e241a5b7ba18
parentad4a7050395834da81cd5e4715df04ebd5f06b6f
fix a crash when unstaging a file which has been removed from disk

reported by Johannes Thyssen Tishman
lib/worktree.c
regress/cmdline/unstage.sh