Re: [PATCH v1] builtin/rebase: remove a call to get_oid() on `options.switch_to'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 22, 2020, 20:47 UTC
- Message-ID
- <xmqq1rrr6ww2.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20200121193226.24297-1-alban.gruin@gmail.com>
Alban Gruin <alban.gruin@gmail.com> writes:
Show 7 quoted lines
> When `options.switch_to' is set, `options.orig_head' is populated right > after. Therefore, there is no need to parse `switch_to' again. > > Signed-off-by: Alban Gruin <alban.gruin@gmail.com> > --- > builtin/rebase.c | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-)
Sounds good.