From cdff4f4992f3fceade7646f80fef5ef6fa3fa681 Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Wed, 18 Apr 2012 18:35:53 +0000 Subject: [PATCH] Add an example and a bit of documentation to git-rebase-runner. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327613 13f79535-47bb-0310-9956-ffa450edef68 --- tools/git-rebase-runner.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tools/git-rebase-runner.sh b/tools/git-rebase-runner.sh index eadb735a39..0781989428 100755 --- a/tools/git-rebase-runner.sh +++ b/tools/git-rebase-runner.sh @@ -22,6 +22,21 @@ # $1 = loop count # $2 = loop type +# example: +# git rebase -i $most_recent_git_svn_commit_hash +# # select commits to work on/test with 'edit' +# tools/git-rebase-runner.sh 5 all-tests +# +# this will do: +# ant clean +# ant load-demo +# ant run-tests +# ant clean +# git rebase --continue +# in a loop 5 times, storing the output into runtime/git-rebase/logs. +# You can use this to verify a series of commits before commiting +# upstream in bulk with git svn dcommit $hash + top_dir="$(cd "$0/../..";echo "$PWD")" . "$top_dir/tools/functions.sh"