Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

On Travis: fatal: Invalid symmetric difference expression master... #312

Description

@kasparsd

Some Travis runs use an invalid diff range during travis.install.sh which results in the following error:

$ source "$DEV_LIB_PATH/travis.install.sh"
git diff master...2abbda3a1c6b90a0173e832e250ce2007e3fd074
fatal: Invalid symmetric difference expression master...2abbda3a1c6b90a0173e832e250ce2007e3fd074

See this sample CI run while the previous without the error and could resolve the diff:

4.63s$ source "$DEV_LIB_PATH/travis.install.sh"
git diff master...a6bb9a704a687f08b748c47975cdc753331a7683
Downloading PHPUnit 7 phar
Cloning into '/tmp/wpcs'...
remote: Enumerating objects: 16677, done.
remote: Total 16677 (delta 0), reused 0 (delta 0), pack-reused 16677
Receiving objects: 100% (16677/16677), 3.98 MiB | 17.65 MiB/s, done.
Resolving deltas: 100% (11626/11626), done.

Note that both are valid ranges:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions