diff options
| author | Tomas Nordin | 2025-03-15 04:08:47 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2025-03-15 04:54:11 +0200 |
| commit | 4980287e081d3efd29f64973938ca2a0575f521e (patch) | |
| tree | 1c4d526bf6552abd4257b627d659e112c84553d3 /java | |
| parent | af5a75a0bdd891686c67648bc0fa09ffb7e3ed0d (diff) | |
| download | emacs-4980287e081d3efd29f64973938ca2a0575f521e.tar.gz emacs-4980287e081d3efd29f64973938ca2a0575f521e.zip | |
Teach diff-apply-hunk to handle hunks with empty context
* lisp/vc/diff-mode.el (diff-find-source-location):
Consider the case when there is no diff context above or below
edited lines. (bug#72556)
* test/lisp/vc/diff-mode-tests.el: Add tests for undoing hunks
from diffs with addtions only in the beginning or end of the
source file.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions