-
Notifications
You must be signed in to change notification settings - Fork 14
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
.gitattributes diff filters are not respected when viewing diffs #568
Comments
I am having the same issue with https://github.com/AGWA/git-crypt |
This would also be really nice for Git LFS tracked text files ( |
This would also be very helpful in "the other direction", i.e. ref: |
Hi confirm the issue in sublime-merge 4 |
Ran into the same issue when using It works fine on the command line, and in other GUI clients (tested |
Ran into the same issue with nbstripout, content of .gitattributes:
|
Same issue with I only see people reporting on the existence of this issue (since 2019). Can someone with authority say anything about the progress on this issue? |
Still appears to be an issue in build 2083 when using elasticdog/transcrypt
Sublime Merge is the only git client I've used so far that fails to diff the files correctly. It shows the encrypted version of the file instead of the decrypted version. VSCode, git CLI, etc. all diff the file using the decrypted version. Although given this issue has been open since 2019, very little hope of this being addressed any time soon? |
This make SM unusable for our use case, where we have compiled assets (>50) and
Because SM is the only Git client that doesn't do this correctly, you have to scroll past tens of lines of "working directory" changes (which aren't) to find actual changes e.g. in |
This is still an issue in build 2096 with git-crypt. |
When will .gitattributes be supported? It's needed for developers who use Bun: https://bun.sh/docs/install/lockfile#how-do-i-inspect-bun-s-lockfile |
Version info
Description
Files with diff filters set in .gitattributes do not have their filters respected when viewing diffs in Sublime Merge. Instead, the diff says only
<binary file changed>
.This behavior is observed with git-crypt in particular, but this may also apply to other filters applied in .gitattributes
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Instead of
<binary file changed>
, the proper filtered diff should appear.The proper diff can be seen with
Screenshots
The text was updated successfully, but these errors were encountered: