emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Git merge tool for Org files
@ 2011-08-18 10:45 Carsten Dominik
  2011-08-20 14:17 ` Andrea Crotti
  2011-08-20 19:08 ` Achim Gratz
  0 siblings, 2 replies; 7+ messages in thread
From: Carsten Dominik @ 2011-08-18 10:45 UTC (permalink / raw)
  To: Org Mode List; +Cc: Brian Gough

Hi,

I was wondering if anyone here has the skills and interest to write
a git merge driver for Org mode files, in the way

   http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/git-merge-changelog.c

does this for GNU style ChangeLog files?

One of the obstacle for using Org-mode for collaborative programs is that
many operations add or remove text from the beginning or end of a file,
or which add or remove a subnode from an outline tree.
These are operations that confuse the git merger, in particular
if two people have added something to a file, or removed/added
sequential sibling nodes.

I believe that this could be solved with a dedicated merge driver
that understands the integrity of an outline (sub)tree, and that
knows that the sequence of two new subtrees added by different people
does not matter.

The idea for this is actually (I believe) from Brian Gough who asked me
about it at FOSDEM.  I have now also run into this problem and would
really find it great if such a merge driver could be written.
Unfortunately, I do not have the skill for this.

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-20 19:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18 10:45 Git merge tool for Org files Carsten Dominik
2011-08-20 14:17 ` Andrea Crotti
2011-08-20 14:42   ` Carsten Dominik
2011-08-20 14:56     ` Andrea Crotti
2011-08-20 16:04   ` Nick Dokos
2011-08-20 17:30     ` suvayu ali
2011-08-20 19:08 ` Achim Gratz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).