Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15334628
D8466.id20077.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
519 B
Referenced Files
None
Subscribers
None
D8466.id20077.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8466: Ignore detached git branches.
Attached
Detach File
Event Timeline
Log In to Comment