From: Junio C Hamano <gitster@pobox.com>
To: Sergey Organov <sorganov@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] merge: allow to pretend a merge into detached HEAD is made into a branch
Date: Mon, 20 Dec 2021 07:55:33 -0800 [thread overview]
Message-ID: <xmqq35mnz2x6.fsf@gitster.g> (raw)
In-Reply-To: <87a6gyiamm.fsf@osv.gnss.ru> (Sergey Organov's message of "Sat, 18 Dec 2021 11:24:17 +0300")
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.
next prev parent reply other threads:[~2021-12-20 15:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-18 0:56 [PATCH] merge: allow to pretend a merge into detached HEAD is made into a branch Junio C Hamano
2021-12-18 8:24 ` Sergey Organov
2021-12-20 15:55 ` Junio C Hamano [this message]
2021-12-20 22:53 ` [PATCH v2] merge: allow to pretend a merge is made into a different branch Junio C Hamano
2021-12-21 13:52 ` Derrick Stolee
2021-12-18 10:27 ` [PATCH] merge: allow to pretend a merge into detached HEAD is made into a branch Ævar Arnfjörð Bjarmason
2021-12-20 15:36 ` Derrick Stolee
2021-12-20 15:57 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq35mnz2x6.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sorganov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.