Also simplified the parsing of the git-diff-tree -p output and got rid of the unused 'seenfile' variable.