diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-11-12 03:44:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-13 15:05:02 +0900 |
commit | bac2a1e36ffd7ae8b62e1ba708b64979c0f10ee8 (patch) | |
tree | 38880a17123a414c198212765905a7e60abb40bf /t/t3206-range-diff.sh | |
parent | rebase: prepare reset_head() for more flags (diff) | |
download | tgif-bac2a1e36ffd7ae8b62e1ba708b64979c0f10ee8.tar.xz |
built-in rebase: reinstate `checkout -q` behavior where appropriate
When we converted a `git checkout -q $onto^0` call to use
`reset_head()`, we inadvertently incurred a change from a twoway_merge
to a oneway_merge, as if we wanted a `git reset --hard` instead.
This has performance ramifications under certain, though, as the
oneway_merge needs to lstat() every single index entry whereas
twoway_merge does not.
So let's go back to the old behavior.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3206-range-diff.sh')
0 files changed, 0 insertions, 0 deletions