u are sure? the function formatDiff in utils is called when u expand a file in history viewer the first time for each file