builtin/apply: move 'options' variable into cmd_apply()
authorChristian Couder <christian.couder@gmail.com>
Wed, 11 May 2016 13:16:17 +0000 (15:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 May 2016 19:21:19 +0000 (12:21 -0700)
commitd1b27ced9a38ed03e99422b6cb24ff95c7437663
tree95d19e02d91c2d823fc7b6b6450c4b41fcbe9abf
parent7a3eb9e2224d883df229fe4adce51e762165573a
builtin/apply: move 'options' variable into cmd_apply()

The 'options' variable doesn't need to be static and global to the
file. It can be local to cmd_apply(), so let's move it there.

This will make it easier to libify the apply functionality.

Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c