Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14318771
D21471.id51106.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
659 B
Referenced Files
None
Subscribers
None
D21471.id51106.diff
View Options
diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php
--- a/src/workflow/ArcanistDiffWorkflow.php
+++ b/src/workflow/ArcanistDiffWorkflow.php
@@ -2741,6 +2741,17 @@
'git push -- %s %s',
$staging_uri,
$ref);
+
+ if ($err) {
+ $this->writeWarn(
+ pht('STAGING FAILED'),
+ pht('Unable to push lfs changes to the staging area.'));
+
+ throw new ArcanistUsageException(
+ pht(
+ 'Failed to push lfs changes to staging area. Correct the issue, '.
+ 'or use --skip-staging to skip this step.'));
+ }
}
return $refs;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 9:12 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6906661
Default Alt Text
D21471.id51106.diff (659 B)
Attached To
Mode
D21471: fail `arc diff` if second lfs push errors
Attached
Detach File
Event Timeline
Log In to Comment