Add ref names (like --decorate) to git log format.