Merge branch 'js/rebase-orig-head-fix'
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 06:16:05 +0000 (15:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 06:16:05 +0000 (15:16 +0900)
commit9fbcc3d2036569d501bf222e700a4c017547a267
tree193cd5e572dcd4f8a407c88867513fe0152c2986
parent1b8f4dc580432107693a780010c240c2b676ff30
parentcbd29ead92d8555f2b918c7f9d53913f26f7a872
Merge branch 'js/rebase-orig-head-fix'

"git rebase" that was reimplemented in C did not set ORIG_HEAD
correctly, which has been corrected.

* js/rebase-orig-head-fix:
  built-in rebase: set ORIG_HEAD just once, before the rebase
  built-in rebase: demonstrate that ORIG_HEAD is not set correctly
  built-in rebase: use the correct reflog when switching branches
  built-in rebase: no need to check out `onto` twice
builtin/rebase.c