Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] merge: handle --ff/--no-ff/--ff-only as a tri-state option

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:58

Miklos Vajna [off-list ref] writes:
quoted
    if (fast_forward == FF_ONLY)
        fast_forward = FF_ALLOW;
Do we really want --no-ff-only? I would rather just disable it, see the
updated patch.
Sounds sane.
quoted
I'm no options guru, but I think it would be possible to implement --ff
and --no-ff without callbacks if you choose constants such that
FF_NO==0, something like:
Indeed, done.
Yup, looks good.
Actually there is also --no-squash, used by e.g. git-pull internally.
You definitely don't want a five-state option. :-) So for now I would
rather let --squash/--no-squash alone.
Sensible for this patch.

Will replace what was queued.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help