-
Notifications
You must be signed in to change notification settings - Fork 102
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
Is there any way to have diff's work inside git clients, such as Sublime Merge? #163
Comments
Apologies! Appears this is a bug in Sublime Merge after looking further into it: |
Yeah, diffs should just work in clients that apply the .gitattributes directives. It's a shame your preferred client doesn't. You will need to find another client to diff and merge transcrypt-encrypted files. You should also be wary of committing secret files with that tool because it probably won't actually encrypt the contents. Transcrypt installs a pre-commit hook to try and prevent you committing and accidentally sharing files you thought would be encrypted but actually aren't, but I wouldn't recommend relying on it completely. |
Appears to be the way! A shame as its a good client otherwise.
It does respect the pre-commit hooks and stops exec if transcrypt fails or throws an error such as that, I've tested to make sure on that one! So we're all good there. |
I love this project, thank you for making it.
A gap in my knowledge on how this part of git works, but I'm wondering if I'm missing something and there is the ability to have diffs continue to function when inside git clients such as Sublime Merge?
As at the moment when viewing files in such git clients, the diff presented is that of the encrypted version of the file, instead of the decrypted one.
Not sure if this use case has come up yet!
The text was updated successfully, but these errors were encountered: