From 9ef1e13ce4fae0d061cc4270b789a2427292be8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 20 Apr 2009 11:42:53 +0200 Subject: [PATCH] depend: don't disallow adding a dependency on a non-TopGit-branch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit there is no techical reason not to depend on more than one non-TopGit-branch. You can argue if you want it though. This patch lets you decide if you want it or not. Signed-off-by: Uwe Kleine-König --- tg-depend.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tg-depend.sh b/tg-depend.sh index ef5f94f..e1a6f17 100644 --- a/tg-depend.sh +++ b/tg-depend.sh @@ -37,9 +37,6 @@ done [ -n "$name" ] || die "no branch name specified" branchrev="$(git rev-parse --verify "$name" 2>/dev/null)" || die "invalid branch name: $name" -baserev="$(git rev-parse --verify "refs/top-bases/$name" 2>/dev/null)" || - die "not a TopGit topic branch: $name" - ## Record new dependency -- 2.30.2