Re: cloning/pulling hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi,

On Tue, Aug 28, 2007 at 06:46:48PM CEST, Josh England wrote:
> When cloning an existing repository, is there any way to grab
> the .git/hooks files as part of the clone (or pull)?

  No. You can add the appropriate instructions to instructions how to
clone the repository, users have to install the hooks manually.

  Now I went on with a large writeup on considerations for implementing
such a feature (including security), but then I scrapped it. What would
you like to use these hooks for? Really, perhaps it's best to instead do
any "post-commit" etc. checks at the push time instead of the commit
time, so that developers can still freely commit locally, e.g. I
sometimes do temporary commits on side branches of various work in
progress changes, then randomly merge them together etc. before I come
up with the final sequence of commits that I push out.

-- 
				Petr "Pasky" Baudis
Early to rise and early to bed makes a male healthy and wealthy and dead.
                -- James Thurber
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux