amtrack / force-dev-tool

[DEPRECATED] Command line tool supporting the Force.com development lifecycle
MIT License
108 stars 37 forks source link

Empty .cls-meta.xml generated #136

Closed Stepan007 closed 5 years ago

Stepan007 commented 6 years ago

When class only updated in the repository .cls-meta.xml gets generated as well but it is empty.

Stepan007 commented 6 years ago

ok, so just to give you more details, the diff looks like this for the xml file diff --git a/src/classes/AsyncExecutetechnicalmigrationTws.cls-meta.xml b/src/classes/AsyncExecuteTechnicalMigrationTws.cls-meta.xml similarity index 100% rename from src/classes/AsyncExecutetechnicalmigrationTws.cls-meta.xml rename to src/classes/AsyncExecuteTechnicalMigrationTws.cls-meta.xml

The class itself was also renamed and there were made a couple of changes as well.

amtrack commented 6 years ago

I updated the README a while ago. It's recommended to use git diff with the --no-renames flag.

amtrack commented 6 years ago

@Stepan007 Did you try if using --no-renames solves your issue?