t4255: test am submodule with diff.submodule
authorDoug Kelly <redacted>
Wed, 7 Jan 2015 20:32:11 +0000 (14:32 -0600)
committerJunio C Hamano <redacted>
Thu, 8 Jan 2015 03:45:05 +0000 (19:45 -0800)
commitfe7611c46f34cc4164a719a94e88e13ca5c978b1
tree68265c9de1f6b3f1669bc39446bc72a7ac6c5601
parent7ba46269a04de20032bd2dd614be6290cd65caab
t4255: test am submodule with diff.submodule

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 <redacted>
Helped-by: Junio C Hamano <redacted>
Signed-off-by: Doug Kelly <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t4255-am-submodule.sh
git clone https://git.99rst.org/PROJECT