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
git-crypt support? #1509
Comments
this seems to be a duplicate of #1508, albeit with more info |
We currently use |
@tpope Since git 2.11 (released in 2016) you can pass If you have to support older Git, maybe add an option for that? Like "supported Git version" or smth. |
The only breakage I can think of is that for the second case, the rev is not guaranteed to contain a Please try the change out locally for a week or so and report back on your experience. |
Thanks for the direction. I've created commit YorikSar/vim-fugitive@58c6f2f and will test it for some time (I don't use git-crypt a lot, so it'll take about a month to be sure), then will create a pull request. Feel free to comment on that commit in the mean time. |
Is this a limitation related to your patch, or just of using git-crypt with Fugitive in general? |
It's a limitation of the git-crypt in general. |
Alright let's ditch that from the commit message before sending a PR then just to minimize confusion. And on that note, send a PR whenever, a release isn't imminent so your light testing is probably good enough. |
Ok, you're the boss! Created #1837. |
Starting with Git 2.11 cat-file provides --filters option that can be specified instead of "blob" type. This option tells Git to use all filters specified in .gitattributes. This enables diffs for files with filters, for example, git-crypt. Closes #1509
This reverts commit 97b50f8. The fix has been applied to vim-fugitive proper.
If I try to use
:Gdiffsplit
in a project that is encrypted with git-crypt, it always tries to diff with an encrypted file.If i do a git diff or a git difftool on the commandline it works properly.
Is it possible to configure fugitive to work properly with git crypt?
The text was updated successfully, but these errors were encountered: