display correct link to diff