On Tue, Sep 8, 2009 at 3:11 PM, Johannes Gilger<[email protected]> wrote:
>
> This uses the same mechanisms as git to determine whether a file is
> binary: By simply searching the first 8000 bytes for a 0-byte. This
> gets rid of the call to "file" and is a much cleaner and shorter
> implementation.
>
> Signed-off-by: Johannes Gilger <[email protected]>
> ---

This looks good, and I don't think it'll kill performance :). We can
always change it later, so I've applied this patch to my stable
branch.

Reply via email to