Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A44A5DB69 for ; Wed, 10 Oct 2012 18:35:03 +0000 (UTC) Received: (qmail 2277 invoked by uid 500); 10 Oct 2012 18:35:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 2251 invoked by uid 500); 10 Oct 2012 18:35:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 2241 invoked by uid 99); 10 Oct 2012 18:35:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 18:35:03 +0000 Date: Wed, 10 Oct 2012 18:35:03 +0000 (UTC) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1870485520.21459.1349894103081.JavaMail.jiratomcat@arcas> In-Reply-To: <384871191.21168.1349892663213.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8912) adding .gitattributes file to prevent CRLF and LF mismatches for source and text files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-8912: -------------------------------- Target Version/s: 2.0.3-alpha Let's do this for trunk and branch-2 as well. > adding .gitattributes file to prevent CRLF and LF mismatches for source and text files > -------------------------------------------------------------------------------------- > > Key: HADOOP-8912 > URL: https://issues.apache.org/jira/browse/HADOOP-8912 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 1-win > Reporter: Raja Aluri > Fix For: 1-win > > Attachments: HADOOP-8912.patch > > > Source code in hadoop-common repo has a bunch of files that have CRLF endings. > With more development happening on windows there is a higher chance of more CRLF files getting into the source tree. > I would like to avoid that by creating .gitattributes file which prevents sources from having CRLF entries in text files. > I am adding a couple of links here to give more primer on what exactly is the issue and how we are trying to fix it. > # http://git-scm.com/docs/gitattributes#_checking_out_and_checking_in > # http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git > > This issue for adding .gitattributes file to the tree. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira