]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4255-am-submodule.sh
am: add t4255 for submodule updates
authorJens Lehmann <Jens.Lehmann@web.de>
Sun, 15 Jun 2014 17:03:53 +0000 (19:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 19:06:16 +0000 (12:06 -0700)
commit23e2f388c7da3cfe72c880e662dafb0c2965abba
treecdd256c917f776d24aabf88dab547e1f4f17d0f6
parent283f56a40bd9538d7277bb866526d5cae4494eec
am: add t4255 for submodule updates

Test that the am command updates the work tree as expected (for submodule
changes which don't result in conflicts). To make that work add two
helper functions that use format-patch to create the input for am.

Add the KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES
switch to expect the known failure that --no-ff merges attempt to merge
the new files in the former submodule directory with those of the removed
submodule.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4255-am-submodule.sh [new file with mode: 0755]