[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whitespace-only changes
From: |
Lars Ingebrigtsen |
Subject: |
Re: whitespace-only changes |
Date: |
Thu, 20 Aug 2020 15:32:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> The tool is Git, and it will treat any change as significant. I'm not
> aware of a Git option to ignore some changes based on the log
> messages.
Me neither, but it sure would be nice to be able to tell git "this is
not a functional change" (just think of the yearly copyright notice
update).
git has no way of verifying that it's a non-functional change, of
course, so it would just be a hint to the UI. That could then be used
by nefarious people to sneak in functional changes but mark them as
non-functional.
So it's probably not a workable idea.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: whitespace-only changes, Daniel Martín, 2020/08/20
Re: whitespace-only changes, Stefan Monnier, 2020/08/21