Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15485482
D8729.id20701.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
760 B
Referenced Files
None
Subscribers
None
D8729.id20701.diff
View Options
diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php
--- a/src/workflow/ArcanistLandWorkflow.php
+++ b/src/workflow/ArcanistLandWorkflow.php
@@ -181,7 +181,7 @@
if ($this->useSquash) {
$this->rebase();
- $this->squash();
+ $this->squash();
} else {
$this->merge();
}
@@ -866,6 +866,8 @@
$repository_api->execxLocal(
'commit -F %s',
$this->messageFile);
+ //Check there are no unstaged changes warrning this will throw an epic error if the squash is broken
+ $this->requireCleanWorkingCopy();
} else if ($this->isHg) {
// hg rebase produces a commit earlier as part of rebase
if (!$this->useSquash) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 11, 12:03 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7739298
Default Alt Text
D8729.id20701.diff (760 B)
Attached To
Mode
D8729: Handles an issue in windows with large code bases not squash merging correctly.
Attached
Detach File
Event Timeline
Log In to Comment