-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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: Support git filters when showing diffs #24883
Comments
Not yet supported. |
Actually this appears to be a feature request on the diff algorithm. |
@joaomoreno Isn't this super git specific and isn't the idea that the i.e. on disk fileA ---> git clean filter ----> fileA* Please note that it appears the clean filter can be any executable that is able to take stdin and spit stdout. I understand it similar to a pre commit hook, but it is somehow a pre-stage hook. I'm not sure how a diff algorithm running in a web worker should take on knowledge about git clean filters and executables. |
I got the feature description totally wrong. Sorry @alexandrudima |
Facing this issue trying to keep jupyter notebooks under version control. |
This is very important to me. I have encrypted configuration files. The encryption is managed through .gitattributes. When I make changes, I can not visually compare the old to the new to make sure I haven't upset the file format. I have to use command line git diff. |
git
clean
filters are a great way to customize the changes that are staged. VSCode does not seem to respect these filters at the moment such that the diff shown in VSCode does not match up with the diff obtained by runninggit diff <my_filename>
from the command line.Is it possible to support git clean filters or am I doing something wrong?
The text was updated successfully, but these errors were encountered: