builtin/apply: move 'limit_by_name' global into 'struct apply_state'
commit82f0dfca542e95b74ff967f10fb4247e11a2d9d9
authorChristian Couder <christian.couder@gmail.com>
Tue, 24 May 2016 08:11:07 +0000 (24 10:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jun 2016 17:10:16 +0000 (1 10:10 -0700)
tree6e93ab00327b9ad839b4aa1c51dc10424b7a2a28
parentb802355863814b331ffc4ae029b228472e874d1f
builtin/apply: move 'limit_by_name' global into 'struct apply_state'

To libify the apply functionality the 'limit_by_name' variable should
not be static and global to the file. Let's move it into
'struct apply_state'.

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