topgit_deps.awk: scrutinize incoming branch names
commit8e187f798f90f9f6dd971c877faedb1b37d0c60b
authorKyle J. McKay <mackyle@gmail.com>
Tue, 20 Jun 2017 19:21:51 +0000 (20 12:21 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 20 Jun 2017 19:21:51 +0000 (20 12:21 -0700)
tree46aa29ddfc35619d59e628451891f103f77066f0
parentc8e376d7e8b59e0c186a5c11704616944f8a61ed
topgit_deps.awk: scrutinize incoming branch names

Reject any incoming branch names that are not valid Git
ref names.  This includes the branch name itself as well
as lines from within any associated .topdeps file.

It's relatively simple to do and purifies the input for
consumers so they do not need to concern themselves with
such mundane matters.

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