From 4c61bf84b11e26e6f22648668c95ea760a379163 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 11 Jun 2010 12:14:52 +0000 Subject: xserver git update 11/6/2010 --- xorg-server/fix-patch-whitespace | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 xorg-server/fix-patch-whitespace (limited to 'xorg-server/fix-patch-whitespace') diff --git a/xorg-server/fix-patch-whitespace b/xorg-server/fix-patch-whitespace new file mode 100644 index 000000000..417f66fc6 --- /dev/null +++ b/xorg-server/fix-patch-whitespace @@ -0,0 +1,4 @@ +#!/bin/sh +git diff --check | +sed -n 's!^\([^:]*\):\([^:]*\):.*!sed -i "\2 s/[ \t]*$//; \2 s/ *\t/\t/g" \1!p' | +sh -- cgit v1.2.3