git-crypt icon indicating copy to clipboard operation
git-crypt copied to clipboard

Add git-crypt merge driver to support secret files merging (refactored #107)

Open jirutka opened this issue 6 years ago • 6 comments
trafficstars

This PR is a refactoring of PR #107. The original PR mixes multiple unrelated changes in a single commit, including some maybe unwanted changes and code-style violations, which is probably the reason why it’s still not merged.

This PR contains only and only the changes needed for the merge driver support with minimum changes to the existing code (separated into an extra commit), so it should be easy for review. I’ve also fixed a few shortcomings in the original PR.

jirutka avatar Jul 28 '19 19:07 jirutka

Will this fix git add -p?

brandsimon avatar Jul 30 '19 14:07 brandsimon

Any news here? I would love to see this merged but I also have to test it myself.

rpasche avatar Nov 02 '19 21:11 rpasche

Couple of years since my last comment on this feature.. Any plan to merge @AGWA? :)

For anyone lurking, @jirutka's solution works like a charm - simply compile it, place it in your PATH and git-crypt unlock again which will update your .git/config with the proper [merge "git-crypt{-<key>}"] blocks and allow for git rebase and git merge.

Quentin-M avatar Feb 22 '21 19:02 Quentin-M

@AGWA This would be incredibly useful, as it addresses a common hinderance to using git-crypt. Is there any chance this could get merged? :)

joaosa avatar Mar 03 '21 10:03 joaosa

Maybe someone else can take over maintaining the project, There's 21 pull requests open, and this one is basically an essential feature.

YellowOnion avatar Jan 19 '22 05:01 YellowOnion