Re: Cloning from kernel.org, then switching to another repo
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Nov 13, 2007, 09:52 UTC
- Message-ID
- <vpq3avah3r0.fsf@bauges.imag.fr>
- In-Reply-To
- <9e4733910711122030q7bbf6057ubb6b5b27e1885500@mail.gmail.com>
"Jon Smirl" <jonsmirl@gmail.com> writes:
> Execute bit was not set. I just set it for all the scripts. +x is not > getting turned on with a default git init-db. I just made a new repo > to check, no +x on the scripts.
That's by design: "git init" gives you _example_ hooks, but they won't run until you activate them explicitely with the appropriate chmod.
That said, I'm not sure there's a really good reason not to run update-server-info by default on push. It doesn't cost much and saves a lot of troubles for beginners. Perhaps there are cases where the performance cost is non-negligible.
-- Matthieu