am: learn passing -b to mailinfo
commitf7e5ea171b693bf5fc88e059d9d4af3753c09143
authorThomas Rast <trast@student.ethz.ch>
Mon, 16 Jan 2012 10:53:00 +0000 (16 11:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2012 00:04:52 +0000 (16 16:04 -0800)
tree537dd1c0308531783930497f6d9cf8777623b9a8
parent82553cbb08b791aa0bed920ee58494268c0f579f
am: learn passing -b to mailinfo

git-am could pass -k to mailinfo, but not -b.  Introduce an option
that does so.  We change the meaning of the 'keep' state file, but are
careful not to cause a problem unless you downgrade in the middle of
an 'am' run.

This uncovers a bug in mailinfo -b, hence the failing test.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt
git-am.sh
t/t4150-am.sh