rebase: prepare reset_head() for more flags
authorJohannes Schindelin <redacted>
Mon, 12 Nov 2018 11:44:31 +0000 (03:44 -0800)
committerJunio C Hamano <redacted>
Tue, 13 Nov 2018 06:05:02 +0000 (15:05 +0900)
commit73d6d7b24b498df98295763dd82c010c15e65db5
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/rebase.c
git clone https://git.99rst.org/PROJECT