mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 18:22:41 +01:00
Don't trim spaces in diff template
Summary: `arc diff` adds a space after each field in template. It is later removed for the last field. Test Plan: This diff. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2564
This commit is contained in:
parent
81976ff2ff
commit
812f7f782d
1 changed files with 1 additions and 1 deletions
|
@ -1424,7 +1424,7 @@ EOTEXT
|
||||||
$done = false;
|
$done = false;
|
||||||
$first = true;
|
$first = true;
|
||||||
while (!$done) {
|
while (!$done) {
|
||||||
$template = rtrim($template)."\n\n";
|
$template = rtrim($template, "\r\n")."\n\n";
|
||||||
foreach ($issues as $issue) {
|
foreach ($issues as $issue) {
|
||||||
$template .= '# '.$issue."\n";
|
$template .= '# '.$issue."\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue