Skip to content

Commit

Permalink
Merge branch 'js/maint-am-skip-performance-regression'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Sep 14, 2015
2 parents b8367d1 + b9d6689 commit cf2094c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/examples/git-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ then
git read-tree --reset -u $head_tree $head_tree &&
index_tree=$(git write-tree) &&
git read-tree -m -u $index_tree $head_tree
git read-tree $head_tree
git read-tree -m $head_tree
;;
,t)
if test -f "$dotest/rebasing"
Expand Down

0 comments on commit cf2094c

Please sign in to comment.