offa / release-tool

Tool to create project releases.
GNU General Public License v3.0
2 stars 2 forks source link

git: 'is-dirty' is not a git command #13

Closed offa closed 4 years ago

offa commented 4 years ago

Testing the repositories dirty state fails at the moment:

git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
  cmdline: git is-dirty
  stderr: 'git: 'is-dirty' is not a git command. See 'git --help'.'
offa commented 4 years ago

Works on another system.

offa commented 4 years ago

After upgrading to Git Python 3.1.0 the error occurs there too.

offa commented 4 years ago

git.Git was used instead of git.Repo as repository type.