monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] and RFC: binary files merging and hook


From: Glen Ditchfield
Subject: Re: [Monotone-devel] [PATCH] and RFC: binary files merging and hook
Date: Wed, 25 May 2005 21:33:46 -0500
User-agent: KMail/1.7.1

On Tuesday 24 May 2005 17:33, rghetta wrote:
> function binary_file(name)
>     lowname=string.lower(name)
>     -- some known binaries, return true
>     if (string.find(lowname, "%.gif$")) then return true end
>  

You base the text/binary decision on the name of the file.  How hard would it 
be to base it on the contents of the file instead, the way the Unix 'file' 
command does?  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]