bug-standards
[Top][All Lists]
Advanced

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

Re: Criteria for Acceptable Git to ChangeLog


From: Richard Stallman
Subject: Re: Criteria for Acceptable Git to ChangeLog
Date: Mon, 04 Jun 2018 00:16:10 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I'm sorry it took me so long to read this.

The example you chose involves changes only clearly inside the
brace-pairs of the entities.  That is the easy case; naturally it
works.

Here's an example that diff -p does not handle right.

*** old.c       2018-06-03 20:43:53.505781957 -0400
--- old2.c      2018-06-03 20:44:40.776000965 -0400
*************** union that
*** 17,23 ****
  static struct this foo;
  
  int
! main (int argc, char **argv)
  {
    /* A comment */
    /* Another comment */
--- 17,23 ----
  static struct this foo;
  
  int
! main (int argc, char **argv, char **env)
  {
    /* A comment */
    /* Another comment */

Making a substitute for -p that will be correct essentially all the
time is not rocket science.  People who want stop manually writing
about the entities changed, please do that work
to give us a real and full automatic substitute.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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