Skip to content
  • Johannes Schindelin's avatar
    tests: optionally skip `git rebase -p` tests · 11aad464
    Johannes Schindelin authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The `--preserve-merges` mode of the `rebase` command is slated to be
    deprecated soon, as the more powerful `--rebase-merges` mode is
    available now, and the latter was designed with the express intent to
    address the shortcomings of `--preserve-merges`' design (e.g. the
    inability to reorder commits in an interactive rebase).
    
    As such, we will eventually even remove the `--preserve-merges` support,
    and along with it, its tests.
    
    In preparation for this, and also to allow the Windows phase of our
    automated tests to save some well-needed time when running the test
    suite, this commit introduces a new prerequisite REBASE_P, which can be
    forced to being unmet by setting the environment variable
    `GIT_TEST_SKIP_REBASE_P` to any non-empty string.
    
    Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    11aad464