From: Evan Hunt Date: Wed, 27 Mar 2013 01:48:35 +0000 (-0700) Subject: [master] don't sync api file changes X-Git-Tag: v9.10.0a1~448^2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0823fc624a5d5007a2257f478028e30a7197bcb;p=thirdparty%2Fbind9.git [master] don't sync api file changes (cherry picked from commit f2cb70f5d758495195ee53e593e75721bbbc80f0) --- diff --git a/util/branchsync.sh b/util/branchsync.sh index 723239cc1ff..bfba19e9004 100644 --- a/util/branchsync.sh +++ b/util/branchsync.sh @@ -102,8 +102,8 @@ git log $SOURCEBRANCH --reverse --format='%H' $LASTHASH..$SOURCEBRANCH | \ while read hash author; do if git cherry-pick -xn ${hash}; then # cherry-pick was clean - # restore the copyrights file - git checkout HEAD -- util/copyrights + # restore the copyrights and api files + git checkout HEAD -- util/copyrights lib/*/api # note which hash we've merged savehash branchsync.dat $SOURCEBRANCH $hash @@ -114,7 +114,7 @@ git log $SOURCEBRANCH --reverse --format='%H' $LASTHASH..$SOURCEBRANCH | \ continue elif [ -n "$interactive" ]; then # interactive mode -- wait for user to fix things - git checkout HEAD -- util/copyrights + git checkout HEAD -- util/copyrights lib/*/api # note which hash we've merged savehash branchsync.dat $SOURCEBRANCH $hash else