1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00

Update line count after attaching commit diff

Summary: We should probably do this also in `differential.creatediff` but it's not a big deal because we later call `differential.updaterevision` which does this using `DifferentialRevisionEditor`.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3263
This commit is contained in:
vrana 2012-08-13 14:34:34 -07:00
parent 26ae7b728c
commit 0f919ecd3c

View file

@ -217,6 +217,8 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker
// TODO: Attach binary files.
$revision->setLineCount($diff->getLineCount());
return $diff->save();
}