RE: git clone corrupts file.

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

 



Okay, thanks.  I will look for that.  


Thanks, 

Scott Russell
Staff SW Engineer 
NCR Corporation 
Phone: +17706237512
Scott.Russell2@xxxxxxx  |  ncr.com
       

-----Original Message-----
From: Jeff King <peff@xxxxxxxx> 
Sent: Monday, August 16, 2021 2:51 PM
To: Russell, Scott <Scott.Russell2@xxxxxxx>
Cc: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx>; git@xxxxxxxxxxxxxxx
Subject: Re: git clone corrupts file.

*External Message* - Use caution before opening links or attachments

On Mon, Aug 16, 2021 at 12:53:36PM -0400, Jeff King wrote:

> But an alternative workflow, if you really want UTF-16 in the working 
> tree, is to convert between UTF-8 and UTF-16 as the files go in and 
> out o the working tree. There's no built-in support for that, but you 
> could do it with a custom clean/smudge filter. That would let Git 
> store UTF-8 internally, do diffs, etc.

Oh, by the way, I totally forgot that we added an internal version of this, which is easier to configure and much more efficient. See the "working-tree-encoding" attribute in "git help attributes".

Just in case you do want to go that route.

-Peff




[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]

  Powered by Linux