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:
parent
26ae7b728c
commit
0f919ecd3c
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker
|
|||
|
||||
// TODO: Attach binary files.
|
||||
|
||||
$revision->setLineCount($diff->getLineCount());
|
||||
|
||||
return $diff->save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue