Adding custom hooks to a bare repository.
- From
Thomas Adam <thomas.adam22@gmail.com>
- Date
- Jul 28, 2008, 11:04 UTC
- Message-ID
- <18071eea0807280404w3365748cjcd11f536bf5d27eb@mail.gmail.com>
Hello all,
I'm trying to add in "post-merge" as a valid hook file to an already created --bare repository. In adding it to the correct place and setting the correct permissions on it (the repository is a shared one), it doesn't seem to be pulled down with the other hook files already present when doing a "git clone".
Any ideas why?
Indeed, I also, as a test, added this post-merge hook to a repository and created a --bare repository from that - thinking that perhaps the hook file had to present at the time of creating a new repository, but even then it wasn't copied over to the bare repository.
What am I doing wrong?
Thanks in advance,
-- Thomas Adam