Ask Your Question
1

git version control in LibreOffice [closed]

asked 2015-12-14 12:05:08 +0100

trosendal gravatar image

Use libgit2 in LibreOffice.

  • When you enable version control on your document then the document becomes a git repository and every save is a commit.
  • When you get someone else's changes to the document you 'fetch' and 'merge' their new commits. The other party could do the same by merging your commits in their clone.
  • Because it is a git repository it could be linked to a github repository (or local server) that people can collaborate on but also work offline when they need to.
  • Track changes is a view of 'git blame' and the version history in a plot of the repository tree.

Why re-invent version control when 'libgit2' gives you an api you can bundle with you software?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-08-28 00:44:21.550279

Comments

I haven't dug into this yet - I probably will if I use Libreoffice extensively - but it seems that there are some ways to get some versioning working without a major reformat

Take a look at https://github.com/Nicola17/ODT-Git-h... and https://web.archive.org/web/201801070...

jcrben gravatar imagejcrben ( 2018-03-12 01:08:55 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2015-12-15 10:15:30 +0100

Regina gravatar image

If you have good ideas how to bring the ODF file format in its zip-kind into Git, please share it. If you can work out which changes to the ODF file format in its flat kind are necessary to get a good handling in Git, please share it. There are currently discussions in the ODF TC about that.

"the document becomes a git repository" will only be possible when changing the ODF standard. A LibreOffice user forum is the wrong place to discuss it. For contact the ODF TC start at https://www.oasis-open.org/committees...

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2015-12-14 12:05:08 +0100

Seen: 4,702 times

Last updated: Dec 15 '15