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
support temporarily ignoring files using git update-index --assume-unchanged #531
Comments
I don't think this is particularly useful. At least not in Magit: you cannot easily tell Git show me the difference except for this file; in Magit you would just collapse the item showing the boring file's diffs. |
Just want to say that I indeed encountered some situation which need this function... During development, I want to modify a file temporarily for debug / testing; however this modification:
|
I have write some elisp code to implement this feature and it works perfect for assume-unchanged:
Add assume-unchanged section to magit-status buffer:
|
Very nice @zilongshanren ; cheers. It looks like the prompts should lose the trailing @tarsius I think this feature is worth including. Git's support for this isn't very visible which in turn can make usage error-prone if users simply forget that certain files are being treated this way, so I think this integration in the status buffer is really beneficial. |
Agreed. (Changed my mind in the six years since I rejected this proposal.) |
Excellent. Perhaps remove the "wontadd" label and re-open the issue? |
I was hoping for a pull-request from @zilongshanren. |
@tarsius |
Thanks! |
I can use this command in my shell ,
and I hope magit can support this feature.
The text was updated successfully, but these errors were encountered: