Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14033377
D8889.id21115.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
838 B
Referenced Files
None
Subscribers
None
D8889.id21115.diff
View Options
diff --git a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
--- a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
+++ b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
@@ -138,8 +138,14 @@
? PhabricatorEnv::getProductionURI('/D'.$revision->getID())
: 'No revision.';
+ $limit = 1000;
$files = $adapter->loadAffectedPaths();
sort($files);
+ if (count($files) > $limit) {
+ array_splice($files, $limit);
+ $files[] = '(This commit affected more than 1000 files. '.
+ 'Only 1000 are shown here and additional ones are truncated.)';
+ }
$files = implode("\n", $files);
$xscript_id = $xscript->getID();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 10, 5:34 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717705
Default Alt Text
D8889.id21115.diff (838 B)
Attached To
Mode
D8889: Put a limit on the number of files showing in herald emails
Attached
Detach File
Event Timeline
Log In to Comment