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

libreoffice merge(tool?) issue #3 ...

From
MMMichael Meeks <michael.meeks@novell.com>
Date
Feb 22, 2011, 15:34 UTC
Message-ID
<1298388877.32648.171.camel@lenovo-w500>
Hi there,
        So - yet again, I'm still a completely clueless git user :-)
basically the same setup and reproduction issue as last time, still
using a stable git: version 1.7.3.4
Setup:
        git clone git://anongit.freedesktop.org/libreoffice/libs-core
        git checkout integration/dev300_m98
        git remote add stage git://anongit.freedesktop.org/libreoffice/staging/libs-core
        git fetch stage
Reproduce:
	rm -Rf *
	git reset --hard # ie. totally clean tree.
        git merge stage/dev300
	I get this output from the merge:
error: refusing to lose untracked file at 'ucb/source/ucp/ext/makefile.mk'
	Then when I run:

$ git mergetool ucb/source/ucp/ext/makefile.mk ..

Deleted merge conflict for 'ucb/source/ucp/ext/makefile.mk':
  {local}: created
  {remote}: deleted
Use (c)reated or (d)eleted file, or (a)bort?
	It seems to suggest that the file is deleted somewhere (in the branch I
am trying to merge in) it seems.
	Interestingly, though - the file is present in both
integration/dev300_m98:
	git log -n1 ucb/source/ucp/ext/makefile.mk | tee
commit 80b61d9c6762b4f195edd1246b903b11ad3f2252
Author: Thomas Arnhold <thomas@arnhold.org>
Date:   Fri Jan 21 14:11:55 2011 +0100
    Remove old RCS lines.
	And also present in the branch I'm merging: stage/dev300:
commit 0c87cb97cf3790fa98bcbb0eef9d174140a4e847
Author: sb <sb@openoffice.org>
Date:   Fri Sep 10 13:10:07 2010 +0200
    sb129: #i113189# change UNO components to use passive registration
	Which makes me wonder - why the deleted / untracked file message ?
probably something obvious, but I found it rather confusing, and again
I've seen a number of examples of this.
	Thanks,
		Michael.

PS. of course, perhaps this is 'just me' - for space / time / simplicty / certainty reasons, I do a lot of "cp -lR foo/.git baa/" to duplicate trees - but AFAIK all git operations are atomic and use renames rather than in-place re-writing: right ?

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot
Next: Brian Gernhardt
Message 1 of 12 in “libreoffice merge(tool?) issue #3 ...”
  1. Michael MeeksFeb 22, 2011
  2. Brian GernhardtFeb 22, 2011
  3. Michael MeeksFeb 24, 2011
  4. Michael J GruberFeb 25, 2011
  5. Andres FreundFeb 25, 2011
  6. copying git repositories ...Michael Meeks, Feb 28, 2011
  7. Andres FreundFeb 28, 2011
  8. Brian GernhardtFeb 28, 2011
  9. Michael J GruberFeb 22, 2011
  10. Michael MeeksFeb 22, 2011
  11. Michael J GruberFeb 23, 2011
  12. Michael J GruberFeb 23, 2011

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.