Skip to content

Commit

Permalink
Minor, fix some obvious derp from the attachment patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
epriestley committed Mar 6, 2012
1 parent 756faad commit 831133e
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -94,6 +94,12 @@ protected function buildAttachments() {
$attachments = array();

if (PhabricatorEnv::getEnvConfig('metamta.differential.attach-patches')) {

$revision_id = $this->getRevision()->getID();

$diffs = $revision->loadDiffs();
$diff_number = count($diffs);

$attachments[] = new PhabricatorMetaMTAAttachment(
$this->buildPatch(),
"D{$revision_id}.{$diff_number}.patch",
Expand Down

0 comments on commit 831133e

Please sign in to comment.