Closed
Description
Hi guys,
while working on a project, I met weird behaviour:
repo.git.commit(m="{0},{1},{2}".format(inc,vm,dateexp))
File "/usr/lib/python2.6/site-packages/git/cmd.py", line 431, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/git/cmd.py", line 802, in _call_process
return self.execute(make_call(), **_kwargs)
File "/usr/lib/python2.6/site-packages/git/cmd.py", line 607, in execute
raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git commit -mcommitmessage' returned with exit code 1
Usually it works fine. But once in a while gitpython somehow wants to run -m
immidiately followed by message, without the space. Obviously, this fails.
Any ideas on how to overcome this?
Thanks a lot,
Greg
Metadata
Metadata
Assignees
Labels
No labels