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

Investigate resolving merge conflicts for encrypted files #8

Closed
elasticdog opened this issue Aug 25, 2014 · 1 comment
Closed

Investigate resolving merge conflicts for encrypted files #8

elasticdog opened this issue Aug 25, 2014 · 1 comment

Comments

@elasticdog
Copy link
Owner

Note to self, I need to better understand the failure/recovery scenario when there is a merge conflict happening with an encrypted file.

@elasticdog
Copy link
Owner Author

This is relevant to the discussion in #23, but essentially it's not a super nice situation. If there's a merge conflict, the inline markers will only show the encrypted text, although if you look at a diff you'll see a combination of the plaintext changes and the encrypted diff.

The easiest way to resolve things is by using git checkout --ours <file> or git checkout --theirs <file> to get the different desired plaintext and then editing manually. Not ideal, but I get why it works that way when you're essentially dealing with binary files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant