RiotGamesMinions / thor-scmversion

Thor tasks to manage a VERSION file based on SCM tags
MIT License
58 stars 22 forks source link

P4 scm is assumed if .git is not a directory #25

Closed mgm7734 closed 10 years ago

mgm7734 commented 10 years ago

If, for example, my project is a submodule, then .git will be a file with content: "gitdir: ../.git/modules/mymodule"

This causes "thor scmversion:current" to fail while attempting nonexistent p4 commands.

capoferro commented 10 years ago

Thanks!