Summary:
Fixes the exception:
Exception
Command 'git commit -a --author=Whatever Long Name <whatever@email.com> -F -' failed with error #1
Test Plan: Tested with full git name
Reviewers: epriestley, aurelijus
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3979
$author = sprintf('%s <%s>',
$address->getDisplayName(),
$address->getAddress());
- $author_cmd = sprintf('--author=%s ', $author);
+ $author_cmd = csprintf('--author=%s ', $author);
}
}
$commit_message = $this->getCommitMessage($bundle);