chiark / gitweb /
branch_needs_update(): Fox branch_contains call: $1 -> $_name
authorPetr Baudis <pasky@suse.cz>
Sun, 10 Aug 2008 19:59:43 +0000 (21:59 +0200)
committerPetr Baudis <pasky@suse.cz>
Sun, 10 Aug 2008 19:59:43 +0000 (21:59 +0200)
tg.sh

diff --git a/tg.sh b/tg.sh
index 146cdda..6312d00 100644 (file)
--- a/tg.sh
+++ b/tg.sh
@@ -139,7 +139,7 @@ branch_needs_update()
                # _dep needs to be synced with its base
                echo ": $_dep $_depchain"
                _ret=1
-       elif ! branch_contains "refs/top-bases/$1" "$_dep"; then
+       elif ! branch_contains "refs/top-bases/$_name" "$_dep"; then
                # Some new commits in _dep
                echo "$_dep $_depchain"
                _ret=1