Select files with diff filter for graph log

It prevent some commit's log has not engough lines.

When a commit has nothing changed, there is only 3 lines log for it,
formatting would not work.