Skip to content

Commit 426a3f6

Browse files
committed
sync_default_gems: git <2.32 ignores --no-edit in cherry-pick
git/git@39edfd5 Gbp-Pq: Name sync_default_gems-git-2.32-ignores-no-edit-in-cherry-pick.patch
1 parent 5511734 commit 426a3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/sync_default_gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def pickup_commit(gem, sha, edit)
690690
if picked
691691
system(*%w"git commit --amend --no-edit")
692692
else
693-
system(*%w"git cherry-pick --continue --no-edit")
693+
system({'GIT_EDITOR' => 'true'}, *%w"git cherry-pick --continue")
694694
end or return nil
695695

696696
# Amend the commit if RDoc references need to be replaced

0 commit comments

Comments
 (0)