chiark / gitweb /
tg export: Fix exporting remote-based branches
authorPetr Baudis <pasky@suse.cz>
Mon, 22 Sep 2008 16:52:57 +0000 (18:52 +0200)
committerPetr Baudis <pasky@suse.cz>
Mon, 22 Sep 2008 16:52:57 +0000 (18:52 +0200)
tg-export.sh

index 335f698..6098c1a 100644 (file)
@@ -157,6 +157,7 @@ fi
 
 driver()
 {
+       case $_dep in refs/remotes/*) return;; esac
        branch_needs_update >/dev/null
        [ "$_ret" -eq 0 ] ||
                die "cancelling export of $_dep (-> $_name): branch not up-to-date"