From: "Martin Langhoff" <martin.langhoff@gmail.com>
To: "git list" <git@vger.kernel.org>
Subject: Re: git merge no longer handles add/add
Date: Mon, 19 Nov 2007 16:29:27 +1300 [thread overview]
Message-ID: <46a038f90711181929x4bf0794eue73a5dbac8e2688a@mail.gmail.com> (raw)
In-Reply-To: <46a038f90711181918s2743137amc6a827db6d1a6a0@mail.gmail.com>
On Nov 19, 2007 4:18 PM, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> Happens with recursive and resolve. Happy to provide a minimal repro
> case, but I think this is fairly obvious...
Steps to repro...
mkdir repro
cd repro/
cp /etc/resolv.conf ./resolv.conf
git init
git add resolv.conf
git commit -m 'a' resolv.conf
cp resolv.conf resolv-1.conf
git add resolv-1.conf
git commit -m 'a1' resolv-1.conf
echo blabla >> resolv-1.conf
git commit -m 'a2' resolv-1.conf
git-branch other HEAD^^
git checkout other
cp resolv.conf resolv-1.conf
git add resolv-1.conf
git commit -m 'b'
git checkout master
git merge other
...
Auto-merged resolv-1.conf
CONFLICT (add/add): Merge conflict in resolv-1.conf
Automatic merge failed; fix conflicts and then commit the result.
m
next prev parent reply other threads:[~2007-11-19 3:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 3:18 git merge no longer handles add/add Martin Langhoff
2007-11-19 3:29 ` Martin Langhoff [this message]
2007-11-19 6:43 ` Junio C Hamano
2007-11-19 18:33 ` Martin Langhoff
2007-11-19 18:46 ` J. Bruce Fields
2007-11-19 19:25 ` Junio C Hamano
2007-11-19 19:56 ` Jakub Narebski
2007-11-20 1:15 ` Johannes Schindelin
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=46a038f90711181929x4bf0794eue73a5dbac8e2688a@mail.gmail.com \
--to=martin.langhoff@gmail.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;
as well as URLs for NNTP newsgroup(s).