topgit_*_prepare.awk: do not incorrectly spawn misscmd
commit56a690e1eedd5ed8162b3eaae944c327f492a406
authorKyle J. McKay <mackyle@gmail.com>
Fri, 16 Feb 2018 01:17:36 +0000 (15 17:17 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 16 Feb 2018 01:17:36 +0000 (15 17:17 -0800)
treec5b09eaa61c4f9ad74c721b2dfe8df711c068319
parentf5b85f7cc3fc66c38a6603abae92bd299f9ccae7
topgit_*_prepare.awk: do not incorrectly spawn misscmd

When both a "missing" value and a "misscmd" have been supplied,
then the "misscmd" will be spawned once just before the first time
the "missing" value is about to be used.

However, if a valid 'blob' check line has been encountered for the
"missing" value the "misscmd" will not be spawned even if the
"missing" value gets used.

At least that's how it was supposed to work.

Correct the semantic errors to make it work properly and avoid the
unnecessary spawning.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
awk/topgit_deps_prepare.awk
awk/topgit_msg_prepare.awk