Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15380956
D19500.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
515 B
Referenced Files
None
Subscribers
None
D19500.diff
View Options
diff --git a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
--- a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
+++ b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
@@ -1212,7 +1212,7 @@
if (!strlen($raw_diff)) {
// If the commit is actually empty, just return no changesets.
- return array();
+ return array(array(), 0);
}
$parser = new ArcanistDiffParser();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 5:08 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7386578
Default Alt Text
D19500.diff (515 B)
Attached To
Mode
D19500: Fix changeset construction special case for empty commits in pre-commit hooks
Attached
Detach File
Event Timeline
Log In to Comment