Re: [PATCH 0/3] rebase: learn --keep-base
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 1, 2019, 10:45 UTC
- Message-ID
- <xmqq8swuvw9o.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20190325000427.GA9384@archbookpro.localdomain>
Denton Liu <liu.denton@gmail.com> writes:
Show 6 quoted lines
>> I suspect that such a rebase will become no-op without "-i". Am I >> mistaken? I am not sure if "--keep-base" is useful without "-i". > > It's useful in the case of "-x", although that is a grey area since "-x" > uses interactive machinery internally. Aside from "-x", I can't really > think of a situation where we would use "--keep-base" without "-i".
I consider "-x" is a mere sugar-coat around "-i". What I was getting at was if we need some mention of the fact in the documentation (e.g. "the option is accepted but fairly useless unless you are doing the rebase '-i/-x'").