Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-06

Lazarus project and git workflow

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Petr Hlozek

Hi,

if two or more developers work on a project, they sometimes edit the same form. Git can't solve the changes and you have to do it by hand. Even it's better to use the form the other developer and add the changes again by hand. It's impossible to solve the conflict.

What do you do when you have this problem?

Thank you for you time!

Petr

Reply by email

Václav Valíček
to Petr Hlozek

Hi,
it's normal to solve merge/rebase conflicts by hand... Sometimes, git is able to solve changes, if each of you edits another part of form (another part of lfm diffs). In other cases, you are forced to use 3 way merging, best with some GUI tool. For me, it was best to set mergetool in .gitconfig and then git opens editor for each file (afrer git mergetool command). If you use meld, I can suggest --auto-merge (or --auto-compare - not sure). It is perfect timesaver.

V?clav Val??ek

Dne 26.6.2014 15:03, Petr Hlozek napsal(a):

Show quoted text 18 lines
Hi, if two or more developers work on a project, they sometimes edit the same form. Git can't solve the changes and you have to do it by hand. Even it's better to use the form the other developer and add the changes again by hand. It's impossible to solve the conflict. What do you do when you have this problem? Thank you for you time! Petr -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Graeme Geldenhuys
to Václav Valíček
V?clav Val??ek wrote
mergetool command). If you use meld, I can suggest --auto-merge (or --auto-compare - not sure). It is perfect timesaver.

Beyond Compare is another brilliant tool for 3-way merges and anything else you need to diff (files, images, registry, directories etc).

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email