1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-14 19:02:40 +01:00

(stable) Promote 2015 Week 41

This commit is contained in:
epriestley 2015-10-10 04:49:26 -07:00
commit 1773aad855

View file

@ -137,7 +137,15 @@ final class ArcanistBundleTestCase extends PhutilTestCase {
throw $ex;
}
execx('git commit -m %s', $subject);
// If these aren't configured, Git complains even if we pass --author.
$git_name = 'unit-test';
$git_email = 'unit-test@phabricator.com';
execx(
'git -c user.name=%s -c user.email=%s commit -m %s',
$git_name,
$git_email,
$subject);
list($result_hash) = execx('git log -n1 --format=%s', '%T');
$result_hash = trim($result_hash);