OSDN Git Service

am: make direct call to mailinfo
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Oct 2015 00:45:43 +0000 (17:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2015 22:59:34 +0000 (15:59 -0700)
commit4b98bae2cbc6bf49a5fd7bab330191d002e6e2fc
tree6bcb45de698cc29a0932853a3fb46878061d13c0
parent6ac617a321383b2e3a0f0537e3224ec6229e6500
am: make direct call to mailinfo

And finally the endgame.  Instead of spawning "git mailinfo" via the
run_command() API the same number of times as there are incoming
patches, make direct internal call to the libified mailinfo() from
"git am" to reduce the spawning overhead, which would matter on some
platforms.

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