t4255: test am submodule with diff.submodule
authorDoug Kelly <dougk.ff7@gmail.com>
Wed, 7 Jan 2015 20:32:11 +0000 (14:32 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2015 03:45:05 +0000 (19:45 -0800)
git am will break when using diff.submodule=log; add some test cases
to illustrate this breakage as simply as possible. There are
currently two ways this can fail:

* With errors ("unrecognized input"), if only change
* Silently (no submodule change), if other files change

Test for both conditions and ensure without diff.submodule this works.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Doug Kelly <dougk.ff7@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found