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:
commit
1773aad855
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue