Dmitry Kakurin
2007-08-26 02:59:26 UTC
Git is using more and more .git* files to store metadata.
I have two comments on this:
1. It may be better to combine all these files into one (.gitmeta) with different sections
2. Storing metadata in regular source-controlled files feels wrong to me. I cannot be very specific why (call it intuition), but
something inside me screams "bad design" :-). We've already seen some chicken-and-the-egg problems with crlf and .gitattributes. So,
may be it would be better to keep this metadata only in repository (and index). One option would be to associate such a META object
with every TREE (an make it optional). Then allow editing this object with something like 'git meta'.
- Dmitry
I have two comments on this:
1. It may be better to combine all these files into one (.gitmeta) with different sections
2. Storing metadata in regular source-controlled files feels wrong to me. I cannot be very specific why (call it intuition), but
something inside me screams "bad design" :-). We've already seen some chicken-and-the-egg problems with crlf and .gitattributes. So,
may be it would be better to keep this metadata only in repository (and index). One option would be to associate such a META object
with every TREE (an make it optional). Then allow editing this object with something like 'git meta'.
- Dmitry