Merge "commit-msg: Adapt to awk behavior change on Cygwin/MSYS" into stable-2.14
This commit is contained in:
commit
6ed5a40999
@ -78,6 +78,9 @@ add_ChangeId() {
|
||||
# - in END, the last textLine+ block is available for footer parsing
|
||||
$AWK '
|
||||
BEGIN {
|
||||
if (match(ENVIRON["OS"], "Windows")) {
|
||||
RS="\r?\n" # Required on recent Cygwin
|
||||
}
|
||||
# while we start with the assumption that textLine+
|
||||
# is a footer, the first block is not.
|
||||
isFooter = 0
|
||||
|
Loading…
Reference in New Issue
Block a user