]> git.ozlabs.org Git - next-scripts/commitdiff
check_left: random changes
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Nov 2008 05:10:30 +0000 (16:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Nov 2008 05:10:30 +0000 (16:10 +1100)
check_left

index 9c1a27b2aecd18ba9021a3a7b73c8ec964e59fcb..553bd90da6da6650e1ba64bb3c160c0b46808359 100755 (executable)
@@ -12,19 +12,20 @@ log()
 heads=$(grep -v '^#' ../real_control | awk -F '        ' '$2=="quilt" { printf("quilt/%s ", $3); } $2=="git" { printf("%s/%s ", $3, $5); }')
 
 for h in $heads; do
+       echo $h
        mb=$(git merge-base origin/master $h)
        rh=$(git rev-parse $h)
        [ "$mb" = "$rh" ] &&
                continue
 
-#      c=$(git rev-list --pretty='format:%m%H' --no-merges --left-right --cherry-pick origin/master...$h | sed -n 's/^>//p')
-#      [ -z "$c" ] &&
-#              continue
+       c=$(git rev-list --pretty='format:%m%H' --no-merges --left-right --cherry-pick origin/master...$h | sed -n 's/^>//p')
+       [ -z "$c" ] &&
+               continue
 
-##     git shortlog --no-walk $c 2>&1 | tee -a $LOG_FILE
-#      log $h "$(echo $c | wc -w)"
+       log $h "$(echo $c | wc -w)" | tee -a $LOG_FILE
+       git shortlog --no-walk $c 2>&1 | tee -a $LOG_FILE
 
-       gitk stable..$h
+#      gitk stable..$h
 
 done