rev-list, not rev-parse

This commit is contained in:
Rudolf Polzer 2010-07-02 14:04:00 +02:00
parent 6b8ec4f290
commit 165b5c3178

4
all
View File

@ -673,8 +673,8 @@ case "$cmd" in
realbase=$base
;;
*)
l0=`git rev-parse "$base".."$ref" | wc -l`
l1=`git rev-parse master.."$ref" | wc -l`
l0=`git rev-list "$base".."$ref" | wc -l`
l1=`git rev-list master.."$ref" | wc -l`
if [ $l0 -gt $l1 ]; then
realbase=master
else