Skip to content

Commit cf2094c

Browse files
committed
Merge branch 'js/maint-am-skip-performance-regression'
Recent versions of scripted "git am" has a performance regression in "git am --skip" codepath, which no longer exists in the built-in version on the 'master' front. Fix the regression in the last scripted version that appear in 2.5.x maintenance track and older. * js/maint-am-skip-performance-regression: am --skip/--abort: merge HEAD/ORIG_HEAD tree into index
2 parents b8367d1 + b9d6689 commit cf2094c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/examples/git-am.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ then
512512
git read-tree --reset -u $head_tree $head_tree &&
513513
index_tree=$(git write-tree) &&
514514
git read-tree -m -u $index_tree $head_tree
515-
git read-tree $head_tree
515+
git read-tree -m $head_tree
516516
;;
517517
,t)
518518
if test -f "$dotest/rebasing"

0 commit comments

Comments
 (0)