|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] Showing the relevant part of a diff |
Date: | Sat, 16 Jul 2016 12:28:33 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 |
On 07/16/2016 05:14 AM, Herring, Davis wrote:
C-x v = was the original inspiration: this changes it from "What have I changed in this file?" to "What have I changed _here_?". I frequently find myself wanting to ask the latter question, and searching through the diff for my current position is tedious. If the answer is "nothing, but there are changes elsewhere in the file", putting point on a hunk boundary shows what the nearest changes are.
That's quite a lot of patches you got there. It think they should be considered separately.
In case you were wondering, though, diff-hl (available in ELPA) offers the "go to the relevant part of the diff" feature via remapping the vc-diff command.
[Prev in Thread] | Current Thread | [Next in Thread] |