Thread (10 messages) flat view 10 messages, 8 authors, 2016-06-15

Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, .gitacls? etc.

From: Sergio Callegari <hidden>
Date: 2016-06-15 22:43:31

Junio C Hamano <gitster <at> pobox.com> writes:
Dmitry Kakurin <dmitry.kakurin <at> gmail.com> writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help