Description
We rely on git ls-files to get the list of files to check, but some of the files could be removed after being added to git, this should be handled.
To Reproduce
touch doc.md
git add doc.md
rm doc.md
xrefcheck
This results in xrefcheck run failing.
Expected behavior
All tracked md files except for doc.md are checked.
I suppose we should treat doc.md as if it never existed, but it's discussible.
Environment
Description
We rely on
git ls-filesto get the list of files to check, but some of the files could be removed after being added to git, this should be handled.To Reproduce
touch doc.mdgit add doc.mdrm doc.mdxrefcheckThis results in
xrefcheckrun failing.Expected behavior
All tracked
mdfiles except fordoc.mdare checked.I suppose we should treat
doc.mdas if it never existed, but it's discussible.Environment
master(50e4e3b)