chiark / gitweb /
allow -b to be used with collapse too
authormartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 10:20:23 +0000 (11:20 +0100)
committermartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 10:20:23 +0000 (11:20 +0100)
.topmsg
tg-export.sh

diff --git a/.topmsg b/.topmsg
index c3b92472c1c8a1777291d38342887c525adeee7e..0d35f83cc69219c09ff1fe46a4fdd98ddb655f99 100644 (file)
--- a/.topmsg
+++ b/.topmsg
@@ -4,7 +4,7 @@ Subject: [PATCH] Unify export of branches
 Currently, tg-export does things a little differently whether -b is passed or
 not, when really -b should just default to the name of the current branch.
 
--b could also make sense with the collapse driver.
+-b can also be used with the collapse driver.
 
 Debian bug: #506284
 Credits: Niko Tyni <ntyni@debian.org> for spotting the bug and sending an
index 8e98f4695c825752428fdf2bd2b947488c6c99c4..ae32bf48f6cde617cc31d919395cf598b68102f6 100644 (file)
@@ -30,10 +30,6 @@ while [ -n "$1" ]; do
 done
 
 
-
-[ -z "$branches" -o "$driver" = "quilt" ] ||
-       die "-b works only with the quilt driver"
-
 if [ -z "$branches" ]; then
        # this check is only needed when no branches have been passed
        name="$(git symbolic-ref HEAD | sed 's#^refs/heads/##')"