• Jens Lehmann's avatar
    bisect: add t6041 for submodule updates · 8f8ba56b
    Jens Lehmann authored
    Test that the bisect command updates the work tree as expected. To make
    that work with the new submodule test framework a git_bisect helper
    function is added. This adds a commit after the one given to be switched
    to and makes that one the bad commit. The starting point is then given to
    bisect as the good commit which makes bisect change the work tree to the
    commit in between, which is the commit given.
    Signed-off-by: default avatarJens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
t6041-bisect-submodule.sh 695 Bytes