Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH] Added hook in git-receive-pack

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:03


On Sun, 31 Jul 2005, Josef Weidendorfer wrote:
Added hook in git-receive-pack

After successful update of a ref,

 $GIT_DIR/hooks/update refname old-sha1 new-sha2

is called if present. This allows e.g sending of a mail
with pushed commits on the remote repository.
Documentation update with example hook included.
This looks sane. However, I also get the strong feeling that
git-update-server-info should be run as part of a hook and not be built 
into receive-pack..

Personally, I simply don't want to update any dumb server info stuff for 
my own local repositories - it's not like I'm actually serving those out 
anyway.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help