Remove "DifferentialConflictsField" custom field
Summary: Ref T11114. This is a pure paring field and now entirely handled by `DifferentialConflictsCommitMessageField`. Test Plan: Grepped for removed class name. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11114 Differential Revision: https://secure.phabricator.com/D17073
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This field doesn't do anything, it just parses the "Conflicts:" field which
|
||||
* `git` can insert after a merge, so we don't squish the field value into
|
||||
* some other field.
|
||||
*/
|
||||
final class DifferentialConflictsField
|
||||
extends DifferentialCustomField {
|
||||
|
||||
public function getFieldKey() {
|
||||
return 'differential:conflicts';
|
||||
}
|
||||
|
||||
public function getFieldKeyForConduit() {
|
||||
return 'conflicts';
|
||||
}
|
||||
|
||||
public function getFieldName() {
|
||||
return pht('Conflicts');
|
||||
}
|
||||
|
||||
public function getFieldDescription() {
|
||||
return pht(
|
||||
'Parses the "%s" field which Git can inject into commit messages.',
|
||||
'Conflicts');
|
||||
}
|
||||
|
||||
public function canDisableField() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function shouldAppearInCommitMessage() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function shouldAllowEditInCommitMessage() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function renderCommitMessageValue(array $handles) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user