bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54813: 29.0.50; Diff file motion commands skip file mode changes


From: Matthias Meulien
Subject: bug#54813: 29.0.50; Diff file motion commands skip file mode changes
Date: Sat, 09 Apr 2022 14:41:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Matthias Meulien <orontee@gmail.com> writes:

> Analysis: Git diff shows file mode changes when the execution bit is
> affected by the change. There may be no file content change, thus no
> lines starting with --- or +++. In such case the regexp defined by
> `diff-file-header-re' doesn't match which explains the bug.

Note that `diff-goto-source' is based on "hunk headers" search and fails
to open the README file from the diff.  Not sure it should be considered
as a bug...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]