Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, .gitacls? etc.
- From
- Sergio Callegari <scallegari@arces.unibo.it>
- Date
- Aug 27, 2007, 15:34 UTC
- Message-ID
- <loom.20070827T172150-191@post.gmane.org>
- In-Reply-To
- <7v1wdqud0z.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster <at> pobox.com> writes:
> > Dmitry Kakurin <dmitry.kakurin <at> 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