Re: utf8 BOM

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

 



> Okay, so something that checks text files to see if they're utf...
> "core.autoutf", anyone?

This (and crlf-conversion, for that matter) strikes me as something best 
handled outside of git core, such as through checkout/commit hooks. Perhaps 
examples of such hooks could be provided and adapted by each project and 
user as that user/project sees fit for their specific choice of repository 
format and development environment.

Given that git already chose not to screw around with encodings or define 
a canonical encoding for the on-disk format (it's just a string of bytes), 
it would be consistent and reasonable to not mess with these other things, 
too.

Tait

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]