Re: [PATCH] merge: allow to pretend a merge into detached HEAD is made into a branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 20, 2021, 15:55 UTC
- Message-ID
- <xmqq35mnz2x6.fsf@gitster.g>
- In-Reply-To
- <87a6gyiamm.fsf@osv.gnss.ru>
Sergey Organov <sorganov@gmail.com> writes:
> ... > consider to introduce something like "--into-name=<name>" instead, that > will do this renaming unconditionally.
Excellent.
In the scenario I illustrated in the proposed log message, I used a throw-away temporary working area to prepare the history for a real branch, and detached HEAD is the perfect match for such a temporary working area. But it should not be a crime to use a real temporary branch for such use case.
Thanks.