tg-depend.sh: allow adding multiple dependencies
commit1dfa7122e78350c5307aabb265868dad7f0767d6
authorKyle J. McKay <mackyle@gmail.com>
Sat, 4 Feb 2017 03:03:19 +0000 (3 19:03 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 4 Feb 2017 03:03:19 +0000 (3 19:03 -0800)
tree988270e0f1a58fc3fddbcb2abe8ca2665585e04e
parent148b9574e472cc13a74669ee9fdf8a00f0e3d62d
tg-depend.sh: allow adding multiple dependencies

There's very little difference in implementation between adding a
single new dependency and multiple new dependencies but it can be
so much more convenient to do it all at once.

Therefore allow it.

Also prevent changes if .topdeps has uncommitted modifications.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
tg-depend.sh