You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use git to version xml-based documents you need to implement
1 opening, editing and saving unpacked documents
2 (optional, but highly required) packing them with couple clicks
3 (optional) implement diff and merge of structure.There are some AST diff and merge tools, some of them capable to merge xml documents, some of them are even free software, it can be useful to reuse their code. It is very probable thay you will have to modify it with own rules to make the merges mor correct. This diff and merge tool should be wysiwyg, they should be abke to show the document as it is changed.
This is all you'll have to do to add versioning using third-party VCS, like git. IMHO it'd be a killer feature (I've never seen this kind of feture in text editors).
The text was updated successfully, but these errors were encountered:
@efimov90
1 docx are zip archives, you need to unpack them first to use them with git. And they should be editable with your editor in that state.
2 there is a need in a more smart diff and merge tool for that documents because the same formatting may result in different internal structures and we want diffs to be as small and semantic as possible
To use git to version xml-based documents you need to implement
1 opening, editing and saving unpacked documents
2 (optional, but highly required) packing them with couple clicks
3 (optional) implement diff and merge of structure.There are some AST diff and merge tools, some of them capable to merge xml documents, some of them are even free software, it can be useful to reuse their code. It is very probable thay you will have to modify it with own rules to make the merges mor correct. This diff and merge tool should be wysiwyg, they should be abke to show the document as it is changed.
This is all you'll have to do to add versioning using third-party VCS, like git. IMHO it'd be a killer feature (I've never seen this kind of feture in text editors).
The text was updated successfully, but these errors were encountered: