> 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. ...
> 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. ...