push: unmark a local variable as static
authorBrandon Williams <bmwill@google.com>
Fri, 31 Mar 2017 23:56:22 +0000 (16:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Apr 2017 16:49:24 +0000 (09:49 -0700)
commit54cc8aca60e474e637e9d71b57ee2c6f1fb197e6
tree8309892edee66ddeb419aba38ea51d36942e3ac4
parentb14f27f91770e0f99f64135348977a0ce1c7993a
push: unmark a local variable as static

There isn't any obvious reason for the 'struct string_list push_options'
and 'struct string_list_item *item' to be marked as static, so unmark
them as being static.  Also, clear the push_options string_list to
prevent memory leaking.

Signed-off-by: Brandon Williams <bmwill@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c