From 8a4c7c95885cc55e0dbad4a1d8421182c1407002 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 20 Nov 2008 11:20:23 +0100 Subject: [PATCH] allow -b to be used with collapse too --- .topmsg | 2 +- tg-export.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.topmsg b/.topmsg index c3b9247..0d35f83 100644 --- 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 for spotting the bug and sending an diff --git a/tg-export.sh b/tg-export.sh index 8e98f46..ae32bf4 100644 --- a/tg-export.sh +++ b/tg-export.sh @@ -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/##')" -- 2.30.2