xserver-multidpi/fix-patch-whitespace

5 lines
114 B
Bash
Executable File

#!/bin/sh
git diff --check |
sed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' |
sh