Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15397931
D17089.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17089.id.diff
View Options
diff --git a/src/applications/differential/customfield/DifferentialBlameRevisionField.php b/src/applications/differential/customfield/DifferentialBlameRevisionField.php
--- a/src/applications/differential/customfield/DifferentialBlameRevisionField.php
+++ b/src/applications/differential/customfield/DifferentialBlameRevisionField.php
@@ -32,6 +32,10 @@
}
public function renderPropertyViewValue(array $handles) {
+ if (!strlen($this->getValue())) {
+ return null;
+ }
+
return $this->getValue();
}
@@ -91,25 +95,6 @@
return true;
}
- public function shouldAllowEditInCommitMessage() {
- return true;
- }
-
- public function shouldOverwriteWhenCommitMessageIsEdited() {
- return true;
- }
-
- public function getCommitMessageLabels() {
- return array(
- 'Blame Revision',
- 'Blame Rev',
- );
- }
-
- public function renderCommitMessageValue(array $handles) {
- return $this->getValue();
- }
-
public function shouldAppearInConduitDictionary() {
return true;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 17, 11:01 PM (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706410
Default Alt Text
D17089.id.diff (1 KB)
Attached To
Mode
D17089: Simplify "Blame Revision" field in Differential
Attached
Detach File
Event Timeline
Log In to Comment