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

Ravi Prakash commented on HADOOP-10609:
---------------------------------------

Hi Karthik. Files in .gitignore can still be added (albeit with -f). When I 
apply a patch and there are many rejects, a git status would have shown me the 
rejected hunks. Granted I can still do a `find . -name *.rej` for exactly the 
same information, but I'll have to remember to do that now after the `git 
status` . I was just wondering if anybody knew a way I could override these 
.gitignore rules globally ?
I was just pointing out that you could have added the "\*.rej" rule in +your+ 
global .gitignore file . But I couldn't find a way for me to set "*!*\*.rej" in 
my global .gitignore file and make it override the repository's "*.rej" rule


> .gitignore should ignore .orig and .rej files
> ---------------------------------------------
>
>                 Key: HADOOP-10609
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10609
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>             Fix For: 2.5.0
>
>         Attachments: hadoop-10609.patch
>
>
> .gitignore file should ignore .orig and .rej files



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to