send-pack: fix parsing of --force-with-lease option
commit77aa93481d1b12372a70959de58917ff815b3bc6
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Aug 2013 23:06:29 +0000 (2 16:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Aug 2013 23:07:45 +0000 (2 16:07 -0700)
tree5c8faed225c6bfd17622b00976c5bc8e791ed801
parente69fa70f486f437788feef71f8b83c286ae5e701
send-pack: fix parsing of --force-with-lease option

The last argument for parse_push_cas_option() is if it is "unset"
(i.e. --no-force-with-lease), and we are parsing the option with an
explicit value here, so it has to be 0.

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