Commit 101c895e authored by Mike Gabriel's avatar Mike Gabriel

fix-patch-whitepspace: Copy script from X.Org's xserver Git repo.

parent eaa19eb5
#!/bin/sh
git diff --check |
sed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' |
sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment