git: simplify dangling commit checking to only full SHAs, otherwise we do too many checks in case of references which is slow on large repos
git: simplify dangling commit checking to only full SHAs, otherwise we do too many checks in case of references which is slow on large repos