mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Run perltidy
A follow-up patch will adjust the TAP tests to follow a more-structured format for option lists in commands, that perltidy is able to cope better with. Putting the tree first in a clean state makes the next change a bit easier. v20230309 has been used. Author: Dagfinn Ilmari Mannsåker Discussion: https://postgr.es/m/87jzc46d8u.fsf@wibble.ilmari.org
This commit is contained in:
@@ -62,8 +62,9 @@ sub process_file
|
||||
|
||||
# skip over commit links because we will add them below
|
||||
next
|
||||
if (!$in_comment &&
|
||||
m{^\s*<ulink url="&commit_baseurl;[[:xdigit:]]+">§</ulink>\s*$});
|
||||
if (!$in_comment
|
||||
&& m{^\s*<ulink url="&commit_baseurl;[[:xdigit:]]+">§</ulink>\s*$}
|
||||
);
|
||||
|
||||
if ($in_comment && m/\[([[:xdigit:]]+)\]/)
|
||||
{
|
||||
@@ -73,10 +74,10 @@ sub process_file
|
||||
(!m/^Branch:/) && push(@hashes, $hash);
|
||||
|
||||
# minor release item
|
||||
m/^Branch:/ &&
|
||||
defined($major_version) &&
|
||||
m/_${major_version}_/ &&
|
||||
push(@hashes, $hash);
|
||||
m/^Branch:/
|
||||
&& defined($major_version)
|
||||
&& m/_${major_version}_/
|
||||
&& push(@hashes, $hash);
|
||||
}
|
||||
|
||||
if (!$in_comment && m{</para>})
|
||||
|
||||
Reference in New Issue
Block a user