Domenico Andreoli <cavokz@xxxxxxxxx> writes: > This fixed things and also warned about two heads referring to pruned > commits, which may be those two commits I removed by hand (I hope). Exactly. All refs under .git/refs (the special case of this includes the branch heads in .git/refs/heads) are your _promise_ to git that everything that is reachable from them are supposed to be available in your repository. If you remove specific commits by hand without adjusting the branch ref, you are breaking that promise and git-fsck will notice it as a repository breakage. If you do not need a branch and everything reachable only from that branch, you can remove that branch (with "git branch -D"), and run git-gc, which internally does the same reachability analysis as git-fsck does and gets rid of objects that are no longer necessary. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html