Page MenuHomePhabricator

D8729.id20701.diff
No OneTemporary

D8729.id20701.diff

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

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)

Event Timeline