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

Re: libreoffice merge issue ...

From
Ferry Huberts <mailings@hupie.com>
Date
Feb 14, 2011, 17:26 UTC
Message-ID
<4D5965CC.4030706@hupie.com>
In-Reply-To
<1297699635.31477.253.camel@lenovo-w500>
On 02/14/2011 05:07 PM, Michael Meeks wrote:
Show 16 quoted lines
> Hi guys,
> 
> We are having quite some fun merging git branches with LibreOffice, and
> I stumbled over this just now with master git with hash:
> 00e6ee724640701b32aca27cc930fd6409c87ae2
> 
> Setup (some large repos):
> 
> 	git clone git://anongit.freedesktop.org/libreoffice/libs-core
> 	git checkout integration/dev300_m98
> 	git remote add stage git://anongit.freedesktop.org/libreoffice/staging/@REPO@
> 	git fetch stage
> 
> 	Test[1]:
> 
> 	git merge stage/premerge/dev300_m98

the merge has detected a conflict and has annotated the conflicted file(s). at least one of the conflicting files is idl/source/cmptools/lex.cxx (you might want to do 'git mergetool' after you have setup your merge tool)

> 	git diff idl/source/cmptools/lex.cxx
> 

you're diffing the 'unmerged, annotated' file against the original file before the merge.

your merge is not yet complete, you'll have to resolve the conflicts first and then commit

Show 15 quoted lines
> 	yields:
> 
> @@@ -147,11 -147,7 +147,15 @@@ SvToken & SvToken::operator = ( const S
>   *************************************************************************/
>   void SvTokenStream::InitCtor()
>   {
> ++<<<<<<< HEAD
>  +#ifdef DOS
>  +    SetCharSet( CHARSET_ANSI );
>  +#else
>       SetCharSet( gsl_getSystemTextEncoding() );
>  +#endif
> ++=======
> ++    SetCharSet( gsl_getSystemTextEncoding() );
> ++>>>>>>> stage/premerge/dev300_m98
this is the annotation of the conflict
grtz
-- 
Ferry Huberts
Previous: Norbert ThiebaudNext: Norbert Thiebaud
Message 3 of 10 in “libreoffice merge issue ...”
  1. Michael MeeksFeb 14, 2011
  2. Norbert ThiebaudFeb 14, 2011
  3. Ferry HubertsFeb 14, 2011
  4. Norbert ThiebaudFeb 14, 2011
  5. Jeff KingFeb 15, 2011
  6. Junio C HamanoFeb 15, 2011
  7. Jeff KingFeb 16, 2011
  8. Junio C HamanoFeb 16, 2011
  9. Damien WyartApr 21, 2011
  10. Jeff KingApr 29, 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.