Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, .gitacls? etc.
From: Petr Baudis <hidden>
Date: 2016-06-15 22:43:31
On Sun, Aug 26, 2007 at 10:02:50AM CEST, Dmitry Kakurin wrote:
quoted
quoted
My knowledge of Git internals is quite limited, but if *I* were to do it right now, I'd introduce a META entry in every TREE object that would point to a BLOB that contains combined content of .gitattributes, .gitignore etc.A tree that has .gitattributes (and I am assuming in the longer term you can use "ignore" and "precious" in .gitattributes instead of using .gitignore) POINTS TO A BLOB already, so what you are saying does not add anything to what we already have, other than that you are renaming .gitattributes to "META ENTRY".Almost true! The difference is: META BLOBS are not created as files in the workspace (not during checkout, not ever). In order to edit it you'd have to use 'git meta' command. So once again, there is only one place to check for metadata - the index.
That sounds so incredibly ugly, I really would hate to see that. It's still not clear to me how this would help anything, though I didn't watch late Git development. Can you explain some particular scenario where this would improve the current situation? -- Petr "Pasky" Baudis Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett