summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-11-12 03:44:32 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-13 15:05:02 +0900
commitbac2a1e36ffd7ae8b62e1ba708b64979c0f10ee8 (patch)
tree38880a17123a414c198212765905a7e60abb40bf /wt-status.h
parentrebase: prepare reset_head() for more flags (diff)
downloadtgif-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 'wt-status.h')
0 files changed, 0 insertions, 0 deletions