[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070210.012404.121782477.yoshfuji@linux-ipv6.org>
Date: Sat, 10 Feb 2007 01:24:04 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: galak@...nel.crashing.org
Cc: davem@...emloft.net, netdev@...r.kernel.org, akpm@...l.org,
yoshfuji@...ux-ipv6.org
Subject: Re: [NET]: Fix whitespace errors
Hello.
In article <F29DCCE2-0FF6-4B9A-BA07-2D812BF4B320@...nel.crashing.org> (at Fri, 9 Feb 2007 09:47:27 -0600), Kumar Gala <galak@...nel.crashing.org> says:
> > to fix trivial whitespace errors:
> > - convert leading sequences of whitespace with tab(s).
> > - remove whitespace at the end of line.
> > under net.
> >
> > Tree is on top of current net-2.6 tree.
>
> Do you have a script that did this?
----->8-----
#!/bin/sh
TEMP=$(mktemp -t spacecheck.XXXXXX)
unexpand $1 | sed -e 's/[[:space:]][[:space:]]*$//' > ${TEMP}
cat ${TEMP} > $1
rm ${TEMP}
----->8-----
Then, "git-reset" and "git-commit".
--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists