I have following problem. In a unfamiliar project I need to inspect the history of changes in a given file. So I open the file and run M-x magit-log-buffer-file
. That opens a log buffer listing commits in which that file was modified. Now I move to the commit I want to inspect and press RET to show the revision buffer.
In that buffer point is placed at the beginning of the buffer, but I would like if Magit allowed jumping right to the diff of that one file I am interested in directly from the log buffer.
Currently, once in the revision buffer, I have search for the file in the list of files that changed, press j, then press C-l C-l, and finally the diff for the interesting file appears at the top of revision buffer.
git-timemachine
to browse the revisions of the same file.=f
option in diff popup.C-| C-|
isn't a standard Magit binding; what is it bound to? What is "revision history"? The diff of a particular commit or a log (list) of commits? It sounds to me that you are in a log buffer, then you pressRET
to show the revision buffer, and now you want to go back to the log buffer. Is that correct?