[Tfug] Version Control
Tom Rini
trini at kernel.crashing.org
Tue Mar 26 09:29:23 MST 2013
On Tue, Mar 26, 2013 at 10:02 AM, Zack Williams <zdwzdw at gmail.com> wrote:
> On Mon, Mar 25, 2013 at 11:47 PM, Bexley Hall <bexley401 at yahoo.com> wrote:
>> But, how does it decide that it is a text file? By *hoping*
>> the file name indicates itself as such? (i.e., *.c, *.txt, etc.)
>
> I would assume it uses some sort of "magic" like the file(1) command
> uses to determine content type.
>
> I haven't had file mangling issues with any modern DVCS, as that would
> obviously break their hash-centric nature of operation.
Yes, most VCs past CVS use some form of "magic" based smarts when
possible rather than the CVS/RCS habit of mangling things unless
otherwise told to.
--
Tom
More information about the tfug
mailing list