From: Junio C Hamano <gitster@pobox.com>
To: Edward Thomson <ethomson@microsoft.com>
Cc: "git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Merge with staged and unstaged changes
Date: Wed, 20 Feb 2013 14:17:25 -0800 [thread overview]
Message-ID: <7vk3q2y6iy.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <A54CE3E330039942B33B670D971F85740396C4F8@TK5EX14MBXC254.redmond.corp.microsoft.com> (Edward Thomson's message of "Wed, 20 Feb 2013 21:46:08 +0000")
Edward Thomson <ethomson@microsoft.com> writes:
> I also appreciate your explanation of the affect of the workdir,
> and that makes sense. I would have expected that the default was
> to presume the workdir files were existent, rather than the
> other way around, but we can agree that is an implementation detail.
>
> My biggest concern, of course, was having the unstaged files in my
> workdir overwritten or deleted.
Oh, no question about that part. You concluded your original
message with:
>> I trust the last two cases, where data is lost, are bugs to
>> report, but could I get clarification on the other situations?
and I was responding to the part after the "but could I get...".
I am fairly familiar with the "read-tree -m -u O A B" three-way
merge codepath (after all I designed that with Linus in the very
early days of Git), but I am not as familar with the merge-recursive
backend as merge-resolve, and I was hoping to see the "bug" part
triaged by other people.
prev parent reply other threads:[~2013-02-20 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 19:17 Merge with staged and unstaged changes Edward Thomson
2013-02-20 20:21 ` Junio C Hamano
2013-02-20 21:46 ` Edward Thomson
2013-02-20 22:17 ` Junio C Hamano [this message]
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=7vk3q2y6iy.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=ethomson@microsoft.com \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox