diff --git a/util/branchsync.sh b/util/branchsync.sh index 4903f22bef..dc48c59a9f 100644 --- a/util/branchsync.sh +++ b/util/branchsync.sh @@ -104,6 +104,10 @@ git log $SOURCEBRANCH --reverse --format='%H' $LASTHASH..$SOURCEBRANCH | \ # cherry-pick was clean # restore the copyrights and api files git checkout HEAD -- util/copyrights lib/*/api + # don't update the EXCLUDED file + if [ -n `git ls-files EXCLUDED` ]; then + git checkout HEAD -- EXCLUDED + fi # note which hash we've merged savehash branchsync.dat $SOURCEBRANCH $hash