git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how do I resolve this merge manually + mergetool bug

From
Caleb Cushing <xenoterracide@gmail.com>
Date
Feb 24, 2009, 06:52 UTC
Message-ID
<81bfc67a0902232252h56570308r22872854af8da54a@mail.gmail.com>
In-Reply-To
<7vbpssmjm9.fsf@gitster.siamese.dyndns.org>
On Tue, Feb 24, 2009 at 1:31 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
>
>    $ git cat-file blob :1:profiles/package.mask >original
>    $ git cat-file blob :3:profiles/package.mask >theirs
>    $ git cat-file blob profiles/package.mask/frotz >mine
>    $ git merge-file mine original theirs
>    $ diff -u profiles/package.mask/frotz mine ;# eyeball the merge result
>    $ cat mine >profiles/package.mask/frotz
so do all this if theirs is different? (at the moment I know it isn't)
> and then finally conclude the merge with:
>
>    $ git rm profiles/package.mask
>    $ git add profiles/package.mask/frotz
git rm profiles/package.mask

rm 'profiles/package.mask' rm 'profiles/package.mask' rm 'profiles/package.mask/gentoo.org' rm 'profiles/package.mask/java-overlay' rm 'profiles/package.mask/perl-experimental' rm 'profiles/package.mask/regen2.org' rm 'profiles/package.mask/sunrise' fatal: git rm: profiles/package.mask: Is a directory

and git status still shows..
#       unmerged:   profiles/package.mask
-- 
Caleb Cushing

http://xenoterracide.blogspot.com
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 8 in “how do I resolve this merge manually + mergetool bug”
  1. Caleb CushingFeb 24, 2009
  2. Junio C HamanoFeb 24, 2009
  3. Caleb CushingFeb 24, 2009
  4. Junio C HamanoFeb 24, 2009
  5. Caleb CushingFeb 24, 2009
  6. Charles BaileyFeb 24, 2009
  7. Caleb CushingFeb 24, 2009
  8. Charles BaileyFeb 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.