tg-remote.sh: handle new bases location
commit406de188fb7debfadb36ae40e6407895a8d1c15d
authorKyle J. McKay <mackyle@gmail.com>
Fri, 10 Feb 2017 20:36:38 +0000 (10 12:36 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 10 Feb 2017 20:36:38 +0000 (10 12:36 -0800)
treeee7deba7edebf2afb8872f1e220572a62a6e9f6d
parent8cd1a33ba576793ecd4b447ce1192216b15933f3
tg-remote.sh: handle new bases location

When setting up a remote in a repository without any pre-existing
top-bases refs and the topgit.top-bases config option has not been
set, inspect the list of remote refs to determine the correct location
for top-bases to be set up.

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