doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.77k stars 224 forks source link

History rewritten? #286

Closed robocoder closed 6 years ago

robocoder commented 6 years ago

I can see the commit here: https://github.com/doctrine/data-fixtures/commit/83a910f62b01715f3ed7317f5a4996417a698177

but when I clone the project, it can't be found.

$ git show 83a910f62b
fatal: ambiguous argument '83a910f62b': unknown revision or path not in the working tree.
Ocramius commented 6 years ago

@robocoder shallow clone or didn't fetch all branches? Maintenance branches do diverge from master.

robocoder commented 6 years ago

I guess someone promoted a different branch to master. The commit is now cf25ce305180fa279a6ef18547e94f6347e77620.

robocoder commented 6 years ago

Weird. My composer.json doesn't contain any references to doctrine/data-fixtures.

It was my composer.lock that had:

            "name": "doctrine/data-fixtures",
            "version": "dev-master",
            "source": {
                "type": "git",
                "url": "https://github.com/doctrine/data-fixtures.git",
                "reference": "83a910f62b01715f3ed7317f5a4996417a698177"
            },

and all the packages that listed it as a dependency required either

"doctrine/data-fixtures": "1.0.*",

or

"doctrine/data-fixtures": "~1.0",