Skip to content
  • Jens Lehmann's avatar
    merge: add t7613 for submodule updates · 663ed39a
    Jens Lehmann authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Test that the merge command updates the work tree as expected (for
    submodule changes which don't result in conflicts) when used without
    arguments or with the '--ff', '--ff-only' and '--no-ff' flag.
    
    Implement the KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR
    switch to expect the known failure that --no-ff merges do not create the
    empty submodule directory.
    
    The KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES
    switch is also implemented 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: default avatarJens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    663ed39a