tg-export: no current branch check with -b
commit43a76ac1e77824b06d27c231dd1a16e0a9bf0326
authormartin f. krafft <madduck@madduck.net>
Fri, 26 Sep 2008 19:17:12 +0000 (26 21:17 +0200)
committerPetr Baudis <pasky@suse.cz>
Fri, 7 Nov 2008 21:24:03 +0000 (7 22:24 +0100)
tree6b4deeeaa11e69f05787ee359921600e8bf638d9
parent6423f07442eddd157516839e149d328b74adb2c1
tg-export: no current branch check with -b

When --quilt .. -b is given, TopGit dies with

  piper:../pkg/topgit/topgit|build|% tg export --quilt -b debian/locations debian/patches
  tg: fatal: not on a TopGit-controlled branch

which is a little too restrictive as we don't have to be on a tg branch with
-b. This patch simply removes this check if -b has been passed.

Signed-off-by: martin f. krafft <madduck@madduck.net>
tg-export.sh