tg-update: check for detached state of current branch
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 19 Mar 2011 16:53:11 +0000 (19:53 +0300)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 19 Mar 2011 16:53:11 +0000 (19:53 +0300)
commit782ec49485b7f22fb93f6631703b8ce3ef066532
tree99751d0f6025231d5664ead8b4e530f9b8753ff5
parent2825020f7e181280cda0a245847ab56a0a1448e5
tg-update: check for detached state of current branch

Check that current branch is not detached if called "-a" so we
can return to it.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
tg-update.sh