Refuse deleting the current branch via push
commit375881fa6a43e21ab922b20b2061f9868ef18644
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Feb 2009 08:19:46 +0000 (9 00:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Jul 2009 17:15:42 +0000 (29 10:15 -0700)
tree8ca63abdf8437298a4587c5bdd5c2d7a1c3a2cee
parentacd2a45b83e50c0f33b01ee74df241f1adfdff39
Refuse deleting the current branch via push

This makes git-push refuse deleting the current branch by default.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c
t/t5400-send-pack.sh