From: Mark Junker Date: Tue, 22 Jan 2008 08:09:33 GMT Subject: Re: [PATCH] [RFC] Design for pathname encoding gitattribute [RESEND] Message-ID: In-Reply-To: <7vr6gatidd.fsf@gitster.siamese.dyndns.org> Junio C Hamano schrieb: > To support the above scenarios, I think each instance of > repository needs to be able to say "this path (specified with a > matching pattern in the filename encoding) should be converted > this way coming in, and that way going out." UTF-8 only project > would have NKC<->NKD on HFS+ partition, and nothing on > everywhere else. EUC-JP project that checks out as-is would > specify nothing either, but people on Shift_JIS platforms would > locally specify that EUC-JP <-> Shift_JIS conversion to be made. Just to sum up what you wrote and to be sure that I understand you correctly: Lets have two encodings: - Encoding for path names stored in the repository - Encoding for path names from/to file systems Do conversion only if they are different. Both encodings are configurable. Regards, Mark