pre-commit.sh: minor efficiencies
commitce6ce30dfede6c9810220ded0ea1d92280ec3378
authorKyle J. McKay <mackyle@gmail.com>
Tue, 20 Feb 2018 23:45:43 +0000 (20 15:45 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 20 Feb 2018 23:45:43 +0000 (20 15:45 -0800)
tree94ff9a1a5be183ec0b45cc64f61d4ea74ec83807
parenta43036a213120ab8dbe0eb5aa35e33814139c394
pre-commit.sh: minor efficiencies

While unlikely to be noticeable in effect, the extra subshells
are strictly unnecessary.

Eliminate them for the miniscule efficiency improvement but also
more for the code cleanup it provides.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hooks/pre-commit.sh