Comment 3 for bug 2015234

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

> chomp $cv;
> $RevDate=$vcs . ': ' . $cv;
...
> #define ${opt_N}_DATE \"$RevDate\"

I'm not sure I would even describe this as a bug with Git. And I'm puzzled why "chomp" doesn't remove both newlines.

https://perldoc.perl.org/functions/chomp

> ... When in paragraph mode ($/ = ''), it removes all trailing newlines from the string. ...