Code

Have sample update hook not refuse deleting a branch through push.
authorGerrit Pape <pape@smarden.org>
Mon, 16 Apr 2007 08:31:35 +0000 (08:31 +0000)
committerJunio C Hamano <junkio@cox.net>
Mon, 16 Apr 2007 08:35:39 +0000 (01:35 -0700)
commit91776491da19f1b72e1cd192c9ea42bb1aae4415
treeee954e0319dc6cd529765f99138f7527a2b455b7
parent5946d88a349407f2830b4d186201076b80a7cce4
Have sample update hook not refuse deleting a branch through push.

source ref might be 0000...0000 to delete a branch through git-push,
'git <remote> push :<branch>'.  The update hook should not decline this.

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update