mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
* lisp/vc/diff-mode.el (diff-font-lock-keywords): Don't fontify lines in Git patches starting with + or - as added/removed, if they are either before the first hunk, or in the email signature. (Bug#75884) (diff-buffer-type): Move definition up. (diff--indicator-added-re, diff--indicator-removed-re): New variables. (diff--git-preamble-end, diff--git-footer-start) (diff--indicator-matcher-helper, diff--indicator-added-matcher) (diff--indicator-removed-matcher): New functions. * test/lisp/vc/diff-mode-tests.el (diff-mode-test-git-patch) (diff-mode-test-git-patch/before-first-hunk) (diff-mode-test-git-patch/signature): New tests. * test/lisp/vc/diff-mode-resources/git.patch: New file. |
||
|---|---|---|
| .. | ||
| diff-mode-resources | ||
| add-log-tests.el | ||
| diff-mode-tests.el | ||
| ediff-diff-tests.el | ||
| ediff-ptch-tests.el | ||
| log-edit-tests.el | ||
| smerge-mode-tests.el | ||
| vc-bzr-tests.el | ||
| vc-cvs-tests.el | ||
| vc-git-tests.el | ||
| vc-hg-tests.el | ||
| vc-tests.el | ||