| Index: checkout.py
|
| diff --git a/checkout.py b/checkout.py
|
| index 2c9c68a7fd24ec5bcaa3df2cdd1ae89cd36bb59a..1c9c63874de50b8b2568e53757cf8cd0b1c46fd8 100644
|
| --- a/checkout.py
|
| +++ b/checkout.py
|
| @@ -713,8 +713,7 @@ class GitCheckout(CheckoutBase):
|
| # index.
|
| cmd = ['commit', '-m', 'Committed patch']
|
| if name and email:
|
| - author = '%s <%s>' % (name, email)
|
| - cmd.extend(['--author', author])
|
| + cmd = ['-c', 'user.email=%s' % email, '-c', 'user.name=%s' % name] + cmd
|
| if verbose:
|
| cmd.append('--verbose')
|
| self._check_call_git(cmd)
|
|
|