From 7749f29727b07b9960d79feb80af2911030e6bdc Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Fri, 25 Apr 2008 19:46:43 +1000 Subject: [PATCH] Just some checks on the interactions between trees. --- check_trees | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 check_trees diff --git a/check_trees b/check_trees new file mode 100755 index 0000000..92e13d1 --- /dev/null +++ b/check_trees @@ -0,0 +1,51 @@ +#!/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 +} + -- 2.39.5