Re: Alternate .gitignore

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

 



Ãvar ArnfjÃrà Bjarmason <avarab <at> gmail.com> writes:

> Have you looked into storing your binaries in a git-submodule(1) ?

I've look at it just now and it doesn't seem to be the thing I need. According 
to my very basis understanding submodules seem to be useful for embedding other 
projects, but I'm working with a single project only. I'm speaking about a 
single project and need to store it in different repositories at different 
"ignorance levels".

To make it clear, just imagine that compilation would be many thousand times 
slower. In such a case you could prefer to store the history of the *.o files as 
well, but you'd still want to avoid the pollution of the source tree. So you'd 
maybe use .git for the sources as usually and .git2 (or whatever) for the object 
files (maybe together with the sources). This comes very close to my situation.

I could switch to using .git2 using $GIT_DIR, but with "*.o" in my .gitignore I 
see no way how to include the ignored files. Maybe I could use $GIT_DIR/info/
exclude somehow instead of .gitignore, but this could be quite cumbersome.


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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]