rev-list, not rev-parse
authorRudolf Polzer <divverent@alientrap.org>
Fri, 2 Jul 2010 12:04:00 +0000 (14:04 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 2 Jul 2010 12:04:00 +0000 (14:04 +0200)
all

diff --git a/all b/all
index eefa5cb5aecea97b748a1186e6e438f6e9331c71..fcefc94e1e82e87d846997722ca44d19abea64b6 100755 (executable)
--- a/all
+++ b/all
@@ -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