magit/magit — Issue #304: whitespace-cleanup
Author: dudebout
Created: 2011-12-21 12:26:45+00:00
State: open

Given what is written in the .dir-locals.el it seems that tabs are not encouraged in magit.
However, some tabs are still present in the code.
There is a new function in emacs 24 that allows to clean that up: whitespace-cleanup.
I applied it to magit and it worked as expected.

I can submit a pull request for it but there is a lot of activity on the repo right now, which would make the merge tedious.
Yann (@sigma), can you apply whitespace-cleanup to the elisp files, or should I go ahead and make a pull-request.

Going forward, the whitespace-cleanup can be put in your before-save-hook to automate the process:

```
(add-hook 'before-save-hook 'whitespace-cleanup)
```