Page MenuHomePhabricator

D19466.id46562.diff
No OneTemporary

D19466.id46562.diff

diff --git a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
--- a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
+++ b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
@@ -85,7 +85,7 @@
->withIdentityNames(array($committer))
->executeOne();
- if (!$committer_identity) {
+ if (!$committer_identity && $committer != null) {
$committer_identity = id(new PhabricatorRepositoryIdentity())
->setAuthorPHID($commit->getPHID())
->setIdentityName($committer)
@@ -166,7 +166,10 @@
}
$commit->setAuthorIdentityPHID($author_identity->getPHID());
- $commit->setCommitterIdentityPHID($committer_identity->getPHID());
+
+ if ($committer_identity != null) {
+ $commit->setCommitterIdentityPHID($committer_identity->getPHID());
+ }
$commit->setSummary($data->getSummary());
$commit->save();

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 12:02 PM (5 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7723919
Default Alt Text
D19466.id46562.diff (1 KB)

Event Timeline