Re: [PATCH 4/6] Add .tar files to .gitignore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 14 Jul 2015, Sebastian Andrzej Siewior wrote:

> * John Kacur | 2015-07-10 14:25:29 [+0200]:
> 
> >Ignore .tar files too
> >
> >Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
> >---
> > .gitignore | 1 +
> > 1 file changed, 1 insertion(+)
> >
> >diff --git a/.gitignore b/.gitignore
> >index 1924e73bef67..ceee8bfb6e9a 100644
> >--- a/.gitignore
> >+++ b/.gitignore
> >@@ -2,6 +2,7 @@
> > .*
> > *.o
> > *.tar.gz
> >+*.tar
> > *.d
> > *.patch
> > *.a
> 
> Wouldn't it make sense to remove *.tar* and *patch from that list?
> After all if "git status" shows you that those exists then step two
> should be remove them, right? Why would you want to them around?
> 

I don't know, I suppose it's a matter of taste, but there are a lot of 
legitimate reasons to have *.tar and *.patch files in your local repo, 
that you might not want to see in via git-status. This is pretty standard 
practice, the Linux kernel has these in .gitignore too, so I'm going to 
keep them in the list.

Cheers!

John
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux