Page MenuHomePhabricator

D8466.diff
No OneTemporary

D8466.diff

diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
--- a/src/repository/api/ArcanistGitAPI.php
+++ b/src/repository/api/ArcanistGitAPI.php
@@ -764,7 +764,7 @@
$result = array();
foreach ($lines as $line) {
- if (preg_match('/^[* ]+\(no branch\)/', $line)) {
+ if (preg_match('@^[* ]+\(no branch|detached from \w+/\w+\)@', $line)) {
// This is indicating that the working copy is in a detached state;
// just ignore it.
continue;

File Metadata

Mime Type
text/plain
Expires
Tue, May 14, 12:51 PM (2 w, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6293698
Default Alt Text
D8466.diff (519 B)

Event Timeline