If have commits like this, add the ids to a file `ignorerevs`, and then tell git about it:
git config --local blame.ignoreRevsFile ignorerevs
Then at least `git blame` will still give useful results. (This is a relatively new git feature, added a year or two ago.)