svn commit: r565224 - in head/lang/pocl: . files

Jason Bacon bacon4000 at gmail.com
Mon Feb 15 22:11:51 UTC 2021


On 2/14/21 2:41 PM, Christoph Moench-Tegeder wrote:
> ## Jason Bacon (bacon4000 at gmail.com):
>
>>> First, while I'm all in favor of consistent white space, mixing this
>>> with the stated (per commit message) change makes the diff harder
>>> to read and "svn annotate" (and similar tools) harder to use later on.
>> Are you suggesting that whitespace changes should be done in a separate
>> commit?
> Perhaps I wouldn't put it that strongly. More like "think about how that
> looks like in the commit history".
> This is not a policy, but some options:
> - if you're changing a line anyways, fix the whitespace there at the
>    same time
> - lines which will never or rarely change (PORTNAME, MAINTAINER, ...)
>    could be whitespace-fixed in their own commit
> - fix the whitespace across the whole file first, then do whatever "real"
>    change you want to do
> - depending on how much you change anyways, it might even not matter
>    that much if you "just fix the whitespace on the side".
>
> The guiding principle should be to retain the usefulness of the
> commit diffs and the history: searching that one "real" change in
> dozens of lines of whitespace-only diff can be frustrating, and
> running "{svn,git} annotate" just to end up at that one "fix whitespace"
> commit also does not help.
>
> Regards,
> Christoph
>
Sounds reasonable, thanks for the detailed clarification.

Best,

     JB


-- 
Earth is a beta site.




More information about the svn-ports-all mailing list