[ 
https://issues.apache.org/jira/browse/HADOOP-4181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632323#action_12632323
 ] 

Owen O'Malley commented on HADOOP-4181:
---------------------------------------

Are you using an old version of git?

>From http://www.kernel.org/pub/software/scm/git/docs/gitignore.html:

{quote}
If the pattern ends with a slash, it is removed for the purpose of the 
following description, but it would only find a match with a directory. In 
other words, foo/ will match a directory foo and paths underneath it, but will 
not match a regular file or a symbolic link foo (this is consistent with the 
way how pathspec works in general in git). 
{quote}

So my version will not ignore a build script that someone adds, or build 
directories somewhere else in the directory tree. I think being more precise is 
a good thing when we are specifying things to be ignored by scm.

> some minor things to make Hadoop friendlier to git
> --------------------------------------------------
>
>                 Key: HADOOP-4181
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4181
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: build
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.19.0
>
>         Attachments: .gitignore, git.patch, git.patch, git.patch, git2.patch, 
> git3.patch, git4.patch
>
>
> It would be nice to have a .gitignore file and a saveVersion that didn't fail 
> under git.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to