Skip to content

Commit

Permalink
Ensure we use git pull —rebase when running helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Jan 10, 2025
1 parent 41c386a commit 5aaa632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devtools/update-this-lang.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! test -f configure.ac ; then
exit 1
fi

git pull || exit 1
git pull --rebase || exit 1

function clone_or_pull_and_make_local() {
if test -z "$1" ; then
Expand All @@ -27,7 +27,7 @@ function clone_or_pull_and_make_local() {
popd || return 1
else
pushd "../$1" || return 1
git pull -q || return 1
git pull --rebase -q || return 1
./autogen.sh || return 1
if test -x config.status ; then
./config.status || return 1
Expand Down Expand Up @@ -55,7 +55,7 @@ do
clone_or_pull_and_make_local "$ll" || didnt_work "$ll"
done

git pull -q || didnt_work "git pull"
git pull --rebase -q || didnt_work "git pull"
./autogen.sh || didnt_work "autogen.sh"
if test -x config.status ; then
./config.status || didnt_work "config.status"
Expand Down

0 comments on commit 5aaa632

Please sign in to comment.