git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Holger Hellmuth <hellmuth@ira.uka.de>
Cc: Johannes Sixt <j.sixt@viscovery.net>, Jeff King <peff@peff.net>,
	Neal Kreitzinger <nkreitzinger@gmail.com>,
	git@vger.kernel.org
Subject: Re: who's on first? - following first parent and merge-management
Date: Fri, 09 Mar 2012 08:26:33 -0800	[thread overview]
Message-ID: <7vfwdh7nba.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <4F5A04BA.8030401@ira.uka.de> (Holger Hellmuth's message of "Fri, 09 Mar 2012 14:25:14 +0100")

Holger Hellmuth <hellmuth@ira.uka.de> writes:

> On 09.03.2012 13:29, Johannes Sixt wrote:
>> Am 3/9/2012 13:05, schrieb Holger Hellmuth:
>>> On 08.03.2012 18:30, Junio C Hamano wrote:
>>>> Johannes Sixt<j.sixt@viscovery.net>   writes:
>>>> ...
>>>> I think the underlying mechanism needed to implement the above
>>>> shares a lot with what Jeff called "crazy idea", but where you would
>>>> want to be after such a merge may be different in these two cases.
>>>
>>> I don't think there is much question that you should still be in the same
>>> branch. Not because you necessarily want to be in that branch. But because
>>> it would be surprising if git-merge changed your branch sometimes and most
>>> times not.
>>
>> I don't think that it is so clear-cut.
>> ...
> I see we have different ideas. I envisioned --into to be the equivalent of
> git checkout master
> git merge topic
> git checkout topic
>
> and in that case index and worktree would be topic naturally.

That is why I rewrote it to "git merge-to master" in my response,
and said that there are two slightly different workflow ingredients
that can be implemented with a similar mechanism.

  reply	other threads:[~2012-03-09 16:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07  5:36 who's on first? - following first parent and merge-management Neal Kreitzinger
2012-03-07  7:37 ` Junio C Hamano
2012-03-08  6:13   ` Junio C Hamano
2012-03-08  7:14     ` Jeff King
2012-03-08  7:38       ` Junio C Hamano
2012-03-08  8:03       ` Johannes Sixt
2012-03-08 17:30         ` Junio C Hamano
2012-03-09 12:05           ` Holger Hellmuth
2012-03-09 12:29             ` Johannes Sixt
2012-03-09 13:25               ` Holger Hellmuth
2012-03-09 16:26                 ` Junio C Hamano [this message]
2012-03-08  7:49     ` Jonathan Nieder
2012-03-08 22:52       ` 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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vfwdh7nba.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=hellmuth@ira.uka.de \
    --cc=j.sixt@viscovery.net \
    --cc=nkreitzinger@gmail.com \
    --cc=peff@peff.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).