X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fauxiliar%2Fupdate-patch-version.sh;h=22286274dba30751c22822c0d226f3de670b734f;hb=HEAD;hp=ac30788f81b526a86540affff4915b544ddcb535;hpb=e1a149d0cc60b02e86209387958f4028567dd366;p=lilypond.git 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