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.
Backporting with magit
Ceph uses GF-Complete stable branch (v1). Modifications required by Ceph were proposed to the master branch. While waiting for the corresponding pull request to be reviewed, a temporary branch (v1-ceph) was created in the Ceph name space for immediate use. The changes have been accepted in master, they are to be backported to v1
Continue reading “Backporting with magit”
tip to review a large patch with magit and ediff
When reviewing a large changeset with magit, it can be difficult to separate meaningfull changes from purely syntactic substitutions. Using ediff to navigate the patch highlights the words changed between two lines instead of just showing a line removed and another added.
In the above screenshot the oid change to oid.hobj is a syntactic change where the new block after oid.generation != ghobject_t::NO_GEN deserves more attention.
Continue reading “tip to review a large patch with magit and ediff”