Fixed smudge dealing with bad hashes and empty files.  Now adding required to .gitconfig will cause it to fail.