Reorganize gatekeeper script to sort subs ahead of their callers
authorJacob Bachmeyer <jcb@gnu.org>
Thu, 6 Oct 2022 03:48:04 +0000 (22:48 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Thu, 6 Oct 2022 03:48:04 +0000 (22:48 -0500)
commit63e756c1a852fe8e17a7cacc403d8cea340779e5
tree7cf816e63381a6e82efe2fb30a1f348804a6ebb4
parent35f1b831f209ad0c416c6657787a54d8ea2a7ba9
Reorganize gatekeeper script to sort subs ahead of their callers

Prior to committing, this was validated with:
(DIFF='git diff --cached';
 comm -3 <($DIFF | grep ^- | sed -e 's/^-//' | sort) \
         <($DIFF | grep ^+ | sed -e 's/^+//' | sort) )

The output shows only blank lines, comments, and a diff header were
added, and only a diff header removed, after all lines are sorted
and paired for analysis.  To replicate, change the "git diff" command
to compare this commit with its parent.
gatekeeper.pl