]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/receive-pack.c
Move post-update hook to after all other activity
authorShawn O. Pearce <spearce@spearce.org>
Wed, 7 Mar 2007 21:50:24 +0000 (16:50 -0500)
committerJunio C Hamano <junkio@cox.net>
Wed, 7 Mar 2007 22:45:40 +0000 (14:45 -0800)
commit8e663d9e90d3d9efc9bb99ad597a6819efe625ce
tree5a232a8f535a367fdedf49b6b8aa3d627280234d
parent84da035f3862b72d103d21104a1f67b003d17ebb
Move post-update hook to after all other activity

As the post-update hook is meant to run after we have completed the
receipt of the pushed changes, and it might actually try to kick off
a `repack -a -d`, we should delay on invoking it until after we have
removed the *.keep file on the uploaded pack (if we kept the pack).

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c