On Sunday 08 March 2015 23:21:59 Albert Astals Cid wrote:
> El Diumenge, 8 de març de 2015, a les 22:00:33, Thomas Lübking va escriure:
> > merging 5.2 into master gets me several merge conflicts in desktop
> > services, which I cannot reasonably resolve, mostly because:
> > 
> > ++<<<<<<< HEAD
> > 
> >  +Comment[zh_TW]=桌面效果使用的組合器設定
> > 
> > ++=======
> > + Comment[zh_TW]=桌面效果使用的組合器組態
> > ++>>>>>>> Plasma/5.2
> > 
> > I cannot read that (nor other translations)
> > 
> > => which branch to I pick?
> 
> I have the feeling this has been asked/answered quite a few times, anyone
> has any idea of a place where to put such a FAQ so that people would find
> it?
> 
> Short answer: The one you're in (i.e. in this case i guess HEAD/master)

This is easy to automate with .gitattributes, for the record (we've been using 
that for ages in KDevelop land):

$GITROOT/.gitattributes
*.desktop merge=ours

Then add this to your .git/config:
    [merge "ours]
        driver = true

Now 'git merge mystablebranch' will just resolve merge conflicts in .desktop 
files using the 'ours' strategy (i.e. favoring *the current branch's* changes)

Hope that helps

> 
> Medium answer: It doesn't matter, scripty will just make it right on the
> next day.
> 
> Long answer: It doesn't matter, scripty will just make it right on the next
> day. The translations on .desktop files are the output of a script, the real
> translation is in .po files in the .svn repo.

> 
> Cheers,
>   Albert
> 
> > Cheers,
> > Thomas
> > 
> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe
> > >> <<
> >> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
> >> <<

-- 
Kevin Funk | kf...@kde.org | http://kfunk.org

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to