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
Hi,
I was trying to integrate Blackbox with our project and have came across a situation where I got merge conflicts while applying the stashed changes. Please find the detailed steps below:
Make some changes, encrypt the file, and commit the changes (probably the gpg file).
Checkout to a new branch, decrypt the file make changes to the same file at same line.
Encrypt the file again commit the changes(let's say commit with id 'xyz').
Checkout to the previous branch.
Decrypt the file again (This would decrypt the file with the changes in the current branch, just to make sure no changes from the new branch is available at this moment).
Make changes to the same file same place (Just to create a possible scenario for conflict).
Encrypt the file again and then stash this change.
Cherry-pick the commit we made earlier from the new branch (the commit with id 'xyz').
Then apply the stashed changes. This would probably create a merge conflict.
May also try some other situations that would create a merge conflict.
In these situations of a merge conflicts I am unable to resolve it as the conflict is showing in the encrypted file.
Currently a workaround we have in mind is to decrypt both the versions of the file. Then compare and accept the changes manually.
I believe this is not directly related to Blackbox and more of a binary file related thing. But it would be really helpful to know how others are getting around this issue. I have found similar issue #73 , but couldn't find much information from it, so created this again.
Thanks,
Sanjo
The text was updated successfully, but these errors were encountered:
Hi,
I was trying to integrate Blackbox with our project and have came across a situation where I got merge conflicts while applying the stashed changes. Please find the detailed steps below:
May also try some other situations that would create a merge conflict.
In these situations of a merge conflicts I am unable to resolve it as the conflict is showing in the encrypted file.
Currently a workaround we have in mind is to decrypt both the versions of the file. Then compare and accept the changes manually.
I believe this is not directly related to Blackbox and more of a binary file related thing. But it would be really helpful to know how others are getting around this issue. I have found similar issue #73 , but couldn't find much information from it, so created this again.
Thanks,
Sanjo
The text was updated successfully, but these errors were encountered: