From: Carl Sorensen Date: Sat, 2 Oct 2010 22:42:34 +0000 (-0600) Subject: Add warning to update-patch-version.sh X-Git-Tag: release/2.13.36-1~71^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=52e0707681ff62c02f107ceb6dac8480d675b340;p=lilypond.git Add warning to update-patch-version.sh --- diff --git a/scripts/auxiliar/update-patch-version.sh b/scripts/auxiliar/update-patch-version.sh index ac30788f81..22286274db 100755 --- a/scripts/auxiliar/update-patch-version.sh +++ b/scripts/auxiliar/update-patch-version.sh @@ -17,5 +17,8 @@ then exit 1 fi -git grep --name-only $1 | xargs sed -i -e s/$1/$2/g +echo "Warning -- if this script is run after a branch is rebased," +echo " unintended changes will occur. It would be best to revert" +echo " the rebase commit before running." +git grep --name-only $1 | xargs sed -i -e s/$1/$2/g