From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: [PATCH 3/3] grep: stop looking at random places for .gitattributes Date: Thu, 11 Oct 2012 07:55:00 +0200 Message-ID: <50765F34.1070108@viscovery.net> References: <7vk3uzfp3p.fsf@alter.siamese.dyndns.org> <1349868894-3579-1-git-send-email-pclouds@gmail.com> <1349868894-3579-4-git-send-email-pclouds@gmail.com> <5075615B.8020702@viscovery.net> <50756646.5060505@viscovery.net> <7vy5jeaz81.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Nguyen Thai Ngoc Duy , git@vger.kernel.org, Jeff King To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu Oct 11 07:57:24 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TMBlq-0006Yi-7j for gcvg-git-2@plane.gmane.org; Thu, 11 Oct 2012 07:57:22 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756734Ab2JKFzD (ORCPT ); Thu, 11 Oct 2012 01:55:03 -0400 Received: from so.liwest.at ([212.33.55.24]:37760 "EHLO so.liwest.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756724Ab2JKFzC (ORCPT ); Thu, 11 Oct 2012 01:55:02 -0400 Received: from [81.10.228.254] (helo=theia.linz.viscovery) by so.liwest.at with esmtpa (Exim 4.77) (envelope-from ) id 1TMBjZ-0003xv-0Y; Thu, 11 Oct 2012 07:55:01 +0200 Received: from [192.168.1.95] (J6T.linz.viscovery [192.168.1.95]) by theia.linz.viscovery (Postfix) with ESMTP id B987E1660F; Thu, 11 Oct 2012 07:55:00 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: <7vy5jeaz81.fsf@alter.siamese.dyndns.org> X-Enigmail-Version: 1.4.4 X-Spam-Score: -1.0 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Am 10/10/2012 21:44, schrieb Junio C Hamano: > Johannes Sixt writes: > >> Is there already an established definition which the "correct" >> .gitattributes are? > > No, and it is deliberately kept vague while waiting for us to come > up with a clear definition of what is "correct". ... > Very often, people > retroactively define attributes to correct earlier mistakes. Absolutely. I have Windows resource files that are Shift-JIS encoded checked in long ago, and I want to retoactively declare them with "encoding=Shift-JIS" because I prefer to see Japanese script in gitk rather than gibberish. -- Hannes