make 'got revert' and 'got rm' work on non-existent directories
commitf8836425010d0756365e9d64f63e3dfb517b1c6b
authorStefan Sperling <stsp@stsp.name>
Wed, 12 Apr 2023 20:09:35 +0000 (12 20:09 +0000)
committerThomas Adam <thomas@xteddy.org>
Fri, 14 Apr 2023 16:27:57 +0000 (14 17:27 +0100)
tree7e1c90b265315464443ebf6b64a86d40861b5826
parent25a102ed18cbd4e83888ece62f235f98117e0425
make 'got revert' and 'got rm' work on non-existent directories

problem found by robert@
ok jamsek, op
lib/worktree.c
regress/cmdline/revert.sh
regress/cmdline/rm.sh