Skip to content
  • Jens Lehmann's avatar
    cherry-pick: add t3512 for submodule updates · 283f56a4
    Jens Lehmann authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Test that the cherry-pick command updates the work tree as expected (for
    submodule changes which don't result in conflicts).
    
    Set KNOWN_FAILURE_NOFF_MERGE_ATTEMPTS_TO_MERGE_REMOVED_SUBMODULE_FILES
    and KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR to
    document that cherry-pick has the same --no-ff known failures merge has.
    
    Implement the KNOWN_FAILURE_CHERRY_PICK_SEES_EMPTY_COMMIT switch to expect
    the known failure that while cherry picking just a SHA-1 update for an
    ignored submodule the commit incorrectly fails with "The previous
    cherry-pick is now empty, possibly due to conflict resolution.".
    
    Signed-off-by: default avatarJens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    283f56a4