>> How can I change the "git diff" command used by magit? More specifically, >> somebody committed a huge set of files to repository with crlf line ending. >> So >> when I check diff in magit, everything is different now making it impossible >> to >> see the real difference. I don't want to rewrite the history to fix this in >> the >> repository, instead, I want to pass "--ignore-space-at-eol" to "git diff". I >> have tried this on command line and it works. But how can I tell magit to use >> this option when it sends "git diff" to git? > > Can anybody tell me where Magit send git commands? Maybe because I was in a > hurry and didn't find it, partly because Magit used lots of macro. If you > know, > please simply tell me the function name. At the same time I will search a bit > more before having to head to rewriting git history which would have to cause > some inconvenience to other developers.
OK, found it, it's `magit-run'. But still the question, do I have to hack at this level, or, is there any simple way to modify the arguments? Thanks, York
