From 3731e96e9a6fd3e8014e49fbd8feee8a11eed660 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 10 Sep 2008 00:35:48 +0200 Subject: [PATCH] branch_contains(): More explicit call to git rev-list --- tg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg.sh b/tg.sh index 6c28467..084dc54 100644 --- a/tg.sh +++ b/tg.sh @@ -77,7 +77,7 @@ measure_branch() # Whether B1 is a superset of B2. branch_contains() { - [ -z "$(git rev-list ^"$1" "$2")" ] + [ -z "$(git rev-list ^"$1" "$2" --)" ] } # ref_exists REF -- 2.30.2