Johannes Schindelin wrote: > Can you be even more explicit? IOW why does this have to be a pre-commit > hook, and cannot be done before calling git-commit itself? metastore adds a .metadata file that contains information (permissions, owners, etc) not normally tracked with git. The pre-commit hook updates the metadata just before committing, to ensure that the metadata included in the commit is consistent with the rest of the commit. You could do it by hand, but that would be an extra step that would have to be rememebered every time. There's no particular reason for the pre-commit hook to interactively prompt before updating the metadata. I suspect it prompts only because it's an example. -- see shy jo
Attachment:
signature.asc
Description: Digital signature