Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diff and three way merge tools for encrypted files #141

Open
clach04 opened this issue Jul 14, 2024 · 0 comments
Open

diff and three way merge tools for encrypted files #141

clach04 opened this issue Jul 14, 2024 · 0 comments
Labels
early-access early access code available enhancement New feature or request

Comments

@clach04
Copy link
Owner

clach04 commented Jul 14, 2024

For encrypted files need a way to allow diff of 3 / two files and also three-way merge without temporary, unencrypted plain text on disk.

✔️ See ptdiff3merge https://github.com/clach04/puren_tonbo/blob/main/puren_tonbo/tools/ptdiff3merge.py

DMP library is fast and works well (used for PyTombo?) diff_match_patch / diff-match-patch https://github.com/clach04/diff-match-patch (http://code.google.com/p/google-diff-match-patch/)

useful resources

test data

3 way merge libs

2 way diff only

ideas

  1. Tool to create final file with auto-resolved merges and also conflict markers for unmergable sections.
  2. Web merge tool
  3. Plugins to existing tools? https://github.com/WinMerge/winmerge/blob/master/Plugins/README.md supports plugins (I don't think tortoise merge does)
    • WinMerge ExecFilterCommand with pt command line tools (ptcat / ptcipher) potentially could work out of the box (ideally setting password once, assuming all 3 files have same password to avoid 3 password prompts for 3-way-merge and 2 for diff)
  4. Git sample config for using an encrypted merge tool
@clach04 clach04 added the enhancement New feature or request label Jul 14, 2024
@clach04 clach04 changed the title diff and three way merge tools diff and three way merge tools for encrypted files Jul 14, 2024
clach04 added a commit that referenced this issue Jul 17, 2024
@clach04 clach04 added the early-access early access code available label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
early-access early access code available enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant