From: Sergio Callegari Date: Mon, 27 Aug 2007 15:34:09 GMT Subject: Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, .gitacls? etc. Message-ID: In-Reply-To: <7v1wdqud0z.fsf@gitster.siamese.dyndns.org> Junio C Hamano pobox.com> writes: > > Dmitry Kakurin gmail.com> writes: > > > 1. It may be better to combine all these files into one (.gitmeta) with different sections > Sorry about entering this discussion so late. I am just wondering about one thing. Couldn't all this directory/ownership/permission tracing be easily done by using hooks? E.g. Having a pre-status and pre-commit hook one could fire up a program/script to collect all the extra info he wants to trace and store it somewhere (typically in some traced file). The other way round one could have a post-checkout hook and he could arrange it to fire up some program to look into the extra-info file to set up all the meta-data he wants. This would be very flexible and would permit to manage absolutely /any/ kind of the metadata leaving absolute freedom about how to do so. Am I missing something here? Sergio