Page MenuHomePhabricator

D8466.id20077.diff
No OneTemporary

D8466.id20077.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
Mar 9 2025, 10:57 AM (6 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7388379
Default Alt Text
D8466.id20077.diff (519 B)

Event Timeline