Re: pre-commit hook question

2014-06-16 Thread Junio C Hamano
Nick Dimov writes: > Im struggling for a couple of hours to make git store metadata of the > files using metastore and I use hooks/pre-commit for this. The pre-commit hook is about checking if the commits being created is sensible and rejecting otherwise, and it is not designed to allow futzing

pre-commit hook question

2014-06-14 Thread Nick Dimov
Hello everyone. Im struggling for a couple of hours to make git store metadata of the files using metastore and I use hooks/pre-commit for this. The problem is that the script is invoked correctly, and modifies the file "metadata" but the file itself is not added into commit. I tried calling "git a