#!/bin/bash id=$(git rev-parse x86-fixes/for-linus) base=$(git merge-base x86-fixes/for-linus x86/for-akpm) [ "$id" = "$base" ] || { echo x86-fixes/for-linus not base for x86/for-akpm 1>&2 exit 1 } id=$(git rev-parse x86/for-akpm) base=$(git merge-base x86/for-akpm x86-latest/latest) [ "$id" = "$base" ] || { echo x86/for-akpm not base for x86-latest/latest 1>&2 exit 1 } id=$(git rev-parse sched-fixes/for-linus) base=$(git merge-base sched-fixes/for-linus sched/for-akpm) [ "$id" = "$base" ] || { echo sched-fixes/for-linus not base for sched/for-akpm 1>&2 exit 1 } id=$(git rev-parse sched/for-akpm) base=$(git merge-base sched/for-akpm sched-latest/latest) [ "$id" = "$base" ] || { echo sched/for-akpm not base for sched-latest/latest 1>&2 exit 1 } #id=$(git rev-parse x86-fixes/for-linus) #base=$(git merge-base x86-fixes/for-linus sched-fixes/for-linus) #[ "$id" = "$base" ] || { # echo x86-fixes/for-linus not base for sched-fixes/for-linus 1>&2 # exit 1 #} #id=$(git rev-parse x86/for-akpm) #base=$(git merge-base x86/for-akpm sched/for-akpm) #[ "$id" = "$base" ] || { # echo x86/for-akpm not base for sched/for-akpm 1>&2 # exit 1 #} id=$(git rev-parse x86-latest/latest) base=$(git merge-base x86-latest/latest sched-latest/latest) [ "$id" = "$base" ] || { echo x86-latest/latest not base for sched-latest/latest 1>&2 exit 1 }