commit | 7e047ab8bc93e427ccda74042cd7b079a1fc62a4 | [log] [tgz] |
---|---|---|
author | Paul Gortmaker <paul.gortmaker@windriver.com> | Sun Mar 20 14:58:02 2011 -0400 |
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | Sun Mar 20 15:00:22 2011 -0400 |
tree | 231495a4409a815eac8f9a6832935610bc104674 | |
parent | b5bf8505cceab7de4bf6c8b2e58045ddfcfbfecc [diff] |
fixup where refresh mangled headers with diffstat junk Not sure why it went ape-shit. Seems to have a weak patch beginning detection algo. I'll be not glomming diffstat info into patches in the future. Here is the quick-n-dirty detection, in case I need it again: for i in *patch ; do DS=`cat -n $i|grep 'file[s]* changed'|awk '{print $1}'|head -n1` ; SB=`cat -n $i|grep '^Signed-off-by: '|awk '{print $1}'` ; if [ -z "$SB" ] ; then continue ; fi ; if [ -z "$DS" ];then continue ; fi ; if [ $SB -gt $DS ]; then echo $i ; fi ; done Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>