From 55cad98cc37f0c47a0e5c5e3d19e607578168f6c Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 19 Nov 2008 16:10:30 +1100 Subject: [PATCH] check_left: random changes --- check_left | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 -- 2.39.2