Summary: Fixes T8231. This was derped in some recent refactoring.
Test Plan: Ran `arc which` and saw expected output.
Reviewers: avivey, epriestley, #blessed_reviewers
Reviewed By: avivey, epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Maniphest Tasks: T8231
Differential Revision: https://secure.phabricator.com/D12890
}
echo phutil_console_wrap(
- "%s\n\n%s\n\n $ %s\n\n%s\n\n",
- $will_be_sent,
- pht(
- 'You can see the exact changes that will be sent by running '.
- 'this command:'),
- $command,
- pht('These commits will be included in the diff:'));
+ phutil_console_format(
+ "%s\n\n%s\n\n $ %s\n\n%s\n\n",
+ $will_be_sent,
+ pht(
+ 'You can see the exact changes that will be sent by running '.
+ 'this command:'),
+ $command,
+ pht('These commits will be included in the diff:')));
echo $commits."\n\n\n";
}