work around for diff-hl and the removed magit refresh hook