mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Strip tips out of commit messages from arc backout
Summary: Fixes T10707. Currently, `arc backout` creates a commit message which includes questionably-helpful "tips" in the message itself. Strip these out. Test Plan: Used `arc backout` to revert any commit, then `git show` to see the generated message. - Before patch: included tips. - After patch: no tips. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10707 Differential Revision: https://secure.phabricator.com/D15573
This commit is contained in:
parent
3d7ac867f5
commit
8701e6c1f3
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ EOTEXT
|
|||
$template = $this->newInteractiveEditor($template)
|
||||
->setName('new-commit')
|
||||
->editInteractively();
|
||||
|
||||
$template = ArcanistCommentRemover::removeComments($template);
|
||||
|
||||
return $template;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue