abcdw, 1 month ago Did you know that you can do a git log just for a small part of the file? #git #magit #emacs
Did you know that you can do a git log just for a small part of the file?
#git #magit #emacs
credmp, 1 month ago @abcdw magit is magical :)
@abcdw magit is magical :)
karthink, 1 month ago @credmp @abcdw You don't need magit for this. Emacs does this out of the box with the command vc-region-history (C-x v h). See also vc-print-log (C-x v l) and vc-annotate (C-x v g).
@credmp @abcdw You don't need magit for this.
Emacs does this out of the box with the command vc-region-history (C-x v h).
See also vc-print-log (C-x v l) and vc-annotate (C-x v g).
abcdw, 1 month ago @karthink @credmp you don't even need emacs for this ;)
@karthink @credmp you don't even need emacs for this ;)
bamfic, 1 month ago @abcdw how?
@abcdw how?
abcdw, 1 month ago @bamfic select a region, call magit-file-dispatch, press l.
@bamfic select a region, call magit-file-dispatch, press l.
yisraeldov, 1 month ago @abcdw How?
@abcdw How?
TheSecondVariation, 1 month ago But how? @yisraeldov @abcdw
But how? @yisraeldov @abcdw
abcdw, 1 month ago @TheSecondVariation @yisraeldov select a region, magit-file-dispatch, l. @krathink also mentioned vc-region-history. And of course -L flag for git log.
@TheSecondVariation @yisraeldov select a region, magit-file-dispatch, l.
@krathink also mentioned vc-region-history.
And of course -L flag for git log.
mirekdlugosz, 1 month ago @abcdw Oh yeah, and you can also have got log follow changes across file renames. It’s one of these things that you need once a year, but when you do, you spend 10 minutes trying to find the right command line incantation and then give up 🤷
@abcdw Oh yeah, and you can also have got log follow changes across file renames.
It’s one of these things that you need once a year, but when you do, you spend 10 minutes trying to find the right command line incantation and then give up 🤷
Add comment