rebase: prepare reset_head() for more flags
commit73d6d7b24b498df98295763dd82c010c15e65db5
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 12 Nov 2018 11:44:31 +0000 (12 03:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 06:05:02 +0000 (13 15:05 +0900)
treeed4ac5249f22a725bc6c3f67f9bc5729883f5ae1
parent3249c1251ed30c314f0dd152023e7d52d3beef29
rebase: prepare reset_head() for more flags

Currently, we only accept the flag indicating whether the HEAD should be
detached not. In the next commit, we want to introduce another flag: to
toggle between emulating `reset --hard` vs `checkout -q`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c