Page MenuHomePhorge

terrible-recurse-hack

Authored By
roguelazer
May 2 2022, 20:04
Size
743 B
Referenced Files
None
Subscribers
None

terrible-recurse-hack

--- arcanist/src/repository/api/ArcanistGitAPI.php.orig 2022-05-02 20:03:00.802722862 +0000
+++ arcanist/src/repository/api/ArcanistGitAPI.php 2022-05-02 20:03:40.072809150 +0000
@@ -16,11 +16,11 @@
private $symbolicHeadCommit;
private $resolvedHeadCommit;
protected function buildLocalFuture(array $argv) {
- $argv[0] = 'git '.$argv[0];
+ $argv[0] = 'git -c submodule.recurse=0 '.$argv[0];
return newv('ExecFuture', $argv)
->setCWD($this->getPath());
}
@@ -38,11 +38,11 @@
} else {
$git = 'git';
}
}
- $args[0] = $git.' '.$args[0];
+ $args[0] = $git.' -c submodule.recurse=0 '.$args[0];
return newv('PhutilExecPassthru', $args)
->setCWD($this->getPath());
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
110035
Default Alt Text
terrible-recurse-hack (743 B)

Event Timeline