using magit to show which commits modified a region

The git-log -L option traces the evolution of the line range given by “<start>,<end>” and it is not really convenient to use from the command line. Fortunately when the magit-file-mode is active in an emacs buffer, you can select a region and use C-c M-g l to show which commits modified it.

Leave a Reply

Your email address will not be published. Required fields are marked *