aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fix-patch-whitespace
blob: 417f66fc67a3798bdab1baa61e612be7af073698 (plain)
1
2
3
4
#!/bin/sh
git diff --check |
sed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' |
sh