3 url="http://git.kernel.org/?p=linux/kernel/git/vapier/blackfin.git;a=commitdiff;h="
5 if [[ -z ${rev} ]] ; then
6 rev=$(git log --pretty='format:%H %s' | sed -n '/LOCAL/{s: .*::;p;q}')
9 set -- `git rev-list ${rev}..HEAD`
12 ====== Blackfin Linux Kernel Tree Status ======
14 Last updated at **`date`**
16 Number of patches in Blackfin tree: **$#**
20 local info tid status subj="$*"
22 info=$(echo "${subj}" | grep -o '^\[local[^]]*]')
23 info=${info#[} # chop leading [
24 info=${info%]} # chop trailing ]
25 if [[ ${info} == *:* ]] ; then
26 tid=${info#*:} # extract tracker id
27 info=${info%:*} # chop tracker id
31 info=${info#local/} # chop leading "local/"
33 "") status="ready for submission";;
34 LOCAL) status="keep locally forever";;
35 local) status="keep local";;
36 lkml) status="fix LKML feedback";;
37 cleanup) status="needs code/style cleanup";;
38 correct) status="change does not seem to be correct";;
39 dead) status="dead code to be punted";;
40 design) status="waiting for response from hardware design";;
41 generalize) status="needs generalizing/abstracting to avoid #if mess";;
42 log) status="needs better change log";;
43 no-sob) status="missing Signed-off-by tag from author";;
44 split) status="patch needs to be split";;
45 *) status="keep local (unknown reason '${info}')";;
47 [[ -n ${tid} ]] && status="${status}; pending [[bf>tracker/${tid}]]"
52 if [[ $2 != -b ]] ; then
53 body=$(git log -n1 --stat=100,100 --pretty='format:%b' $r | \
55 -e '/: /s:<.*@.*>:<...>:' \
57 -e '/^Signed-off-by: /d' \
62 subj=$(git log -n1 --pretty='format:%s' $r)
63 status=$(get_status "${subj}")
64 subj=$(echo "${subj}" | sed 's:^\[local[^]]*] ::')
81 "ready for submission") ;;
82 *) echo " - [[#${subj}]]: ${status}";;
95 "ready for submission") echo " - [[#${subj}]]";;
101 ===== All Patches =====
110 Status: **${status}**
112 [[${url}${r}|Commit]]: