t/helper/recurse_deps_internal: more correctly parse args
commit287982de8c4db7f4dd6afb24971da6380e406de0
authorKyle J. McKay <mackyle@gmail.com>
Tue, 4 Apr 2017 00:09:31 +0000 (3 17:09 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 4 Apr 2017 00:09:31 +0000 (3 17:09 -0700)
tree0634002df8e8b930a99fd1170f848d1196db3cb8
parentcb42e8a656190da9bc8f43c7bf726595bebf7029
t/helper/recurse_deps_internal: more correctly parse args

The first argument to recurse_deps_internal is not necessarily
a branch name.

However, it's most helpful to have that check.

Rather than removing the check, iterate over the arguments
and require that at least one of them is a valid TopGit branch
name with the bonus of transforming 'HEAD' or '@' into the
actual name for easier testing.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
t/helper/recurse_deps_internal.sh