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

To libify the apply functionality the 'summary' 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