From: Stephen Rothwell Date: Wed, 19 Nov 2008 05:10:30 +0000 (+1100) Subject: check_left: random changes X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=55cad98cc37f0c47a0e5c5e3d19e607578168f6c;p=next-scripts check_left: random changes --- diff --git a/check_left b/check_left index 9c1a27b..553bd90 100755 --- a/check_left +++ b/check_left @@ -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