Re: [PATCH] checkpatch.pl: allow piping
From: Jiri Slaby
Date: Fri Jan 11 2008 - 04:21:28 EST
On 01/11/2008 10:17 AM, Daniel Walker wrote:
On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote:
On 01/11/2008 05:10 AM, Daniel Walker wrote:
A little feature addition to allow checkpatch.pl to check patches piped
into it, in addition to specific file arguments.
You can still add - as an argument to check stdin. In which way is this better?
There's was no reason to limit the arguments ..
I was using it to do something like the following ,
git show 9914cad54c79d0b89b1f066c0894f00e1344131c | ./scripts/checkpatch.pl
Ok, and if you add a - there, it should have the same effect, but for free,
doesn't it:
git show 9914cad54c79d0b89b1f066c0894f00e1344131c | ./scripts/checkpatch.pl -
regards,
--
Jiri Slaby
Faculty of Informatics, Masaryk University
Suse Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/