I want to see the differences of a file in another branch. With git I can simply do: git diff otherbranch: path-to-file
.
In magit this seems trickier as the file may not be dirty and not showing up in magit-status. I have been looking in the manual and I think I need to revert the buffer's minor mode but I have not found how to do this? As a bonus I would also like to ignore whitespaces in my diff.
PS I recently ran a melpa update on my magit package, version is listed below.
magit-annex 20190421.241 available melpa Control git-annex from Magit