am: convert "resume" variable to a struct
commite8ef1e8d6edd835fcea7f88d2740d756a1353190
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Feb 2020 14:15:17 +0000 (20 15:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Feb 2020 21:20:40 +0000 (20 13:20 -0800)
tree47d8216da30548025c0562d0e4b3cf6959e75582
parentbc8620b44094e9fb6fc20d141678f9b845c19193
am: convert "resume" variable to a struct

This will allow stashing the submode of --show-current-patch from a
callback function.  Using a struct will allow accessing both fields from
outside cmd_am (through container_of).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c