git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git hook commit similar to subversion start-commit hook
@ 2013-03-05 21:14 Jose Garcia Juanino
  2013-03-05 21:31 ` John Keeping
  0 siblings, 1 reply; 2+ messages in thread
From: Jose Garcia Juanino @ 2013-03-05 21:14 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Hello,

Is there any hook in Git similar to start-commit subversion hook? The
requirements would be:

1- A hook on the server side (as pre-receive)
2- It will execute the actions *before* the begin of transaction
(pre-receive hook needs the references already pushed before).

For example, it would be useful to refuse a push if the server has a
high load.

I have read man githook, but there is nothing similar.

Best regard, and excuse my poor english.


[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-05 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 21:14 Git hook commit similar to subversion start-commit hook Jose Garcia Juanino
2013-03-05 21:31 ` John Keeping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).