Skip to content

Commit caa012d

Browse files
committed
scripts/sync-branch: Fix non-interactive merge
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 9ba113b commit caa012d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/sync-branch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
tags_to_sync=("$@")
1111

1212
for tag_to_sync in "${tags_to_sync[@]}"; do
13-
if git merge --no-ff "$tag_to_sync"; then
13+
if git merge --no-edit --no-ff "$tag_to_sync"; then
1414
continue
1515
fi
1616

@@ -20,7 +20,7 @@ for tag_to_sync in "${tags_to_sync[@]}"; do
2020

2121
git checkout "$tag_to_sync" -- '.'
2222
git add --all
23-
git merge --continue
23+
git merge --no-edit --continue
2424
done
2525

2626
# Check that every tag is in the branch.

0 commit comments

Comments
 (0)