Whether any of paths, each relative to commonDir, is a symbolic
link, by lstat, which never follows one (review F3A): the keeper
deletes no ref whose loose location lies below a directory reached
through a link, since git follows it both when it lists and when
update-ref --no-deref deletes. A path that does not exist is no link;
the keeper has already checked that commonDir is the ref root git uses
(review F4A).
Fails with LooseRefsUnreadable when a path exists and cannot be read,
so the caller can refuse rather than guess.
Whether any of
paths, each relative tocommonDir, is a symbolic link, bylstat, which never follows one (review F3A): the keeper deletes no ref whose loose location lies below a directory reached through a link, since git follows it both when it lists and whenupdate-ref --no-derefdeletes. A path that does not exist is no link; the keeper has already checked thatcommonDiris the ref root git uses (review F4A). Fails withLooseRefsUnreadablewhen a path exists and cannot be read, so the caller can refuse rather than guess.