Page MenuHomePhabricator

D8729.id21923.diff
No OneTemporary

D8729.id21923.diff

diff --git a/src/workflow/ArcanistLandWorkflow.php b/src/workflow/ArcanistLandWorkflow.php
--- a/src/workflow/ArcanistLandWorkflow.php
+++ b/src/workflow/ArcanistLandWorkflow.php
@@ -191,7 +191,7 @@
if ($this->useSquash) {
$this->rebase();
- $this->squash();
+ $this->squash();
} else {
$this->merge();
}
@@ -936,6 +936,10 @@
$repository_api->execxLocal(
'commit -F %s',
$this->messageFile);
+ if (phutil_is_windows()) {
+ // Occasionally on large repositories on Windows, Git can exit with an unclean working copy here. This prevents reverts from being pushed to the remote when this occurs.
+ $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
Wed, Mar 19, 3:35 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7389862
Default Alt Text
D8729.id21923.diff (878 B)

Event Timeline