GNU bug report logs - #54813
29.0.50; Diff file motion commands skip file mode changes

Previous Next

Package: emacs;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Sat, 9 Apr 2022 12:20:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Matthias Meulien <orontee <at> gmail.com>
To: 54813 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#54813: 29.0.50; Diff file motion commands skip file mode changes
Date: Sat, 09 Apr 2022 14:41:15 +0200
Matthias Meulien <orontee <at> 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...




This bug report was last modified 3 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.