From: Petr Baudis Date: Tue, 9 Sep 2008 22:35:48 +0000 (+0200) Subject: branch_contains(): More explicit call to git rev-list X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3731e96e9a6fd3e8014e49fbd8feee8a11eed660;p=topgit.git branch_contains(): More explicit call to git rev-list --- 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