Re: multiple .gitignore and friends in same workdir possible?

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

 



Konrad Karl venit, vidit, dixit 23.04.2010 17:03:
> On Fri, Apr 23, 2010 at 04:50:21PM +0200, Michael J Gruber wrote:
>> Konrad Karl venit, vidit, dixit 23.04.2010 16:32:
>>> Hi
>>>
>>> On Fri, Apr 23, 2010 at 03:01:42PM +0200, Sverre Rabbelier wrote:
>>>> Heya,
>>>>
> [ ...... ]
>>> so if there was some way to _not_ consider the standard .gitignore &friends
>>> I would be happy to live with.
>>
>> If you control the creation of the repos, why don't you simply leave the
>> standard .gitignore empty and use the config as suggested by Sverre?
> 
> Because this information does not getting transfered with git clone.
> 
> People have the chance to forget to set this variable after cloning the
> source repo and they will. 

...and the same is true for setting GIT_DIR appropriately for each repo
- people will commit to the wrong repo, which is even worse. That's why
it's a fragile approach to begin with. Is there no chance you could put
those libs in subdirs and use git modules?

Michael
--
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]