Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Paste
P4
terrible-recurse-hack
Active
Public
Actions
Authored by
roguelazer
on May 2 2022, 20:04.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Tags
None
Referenced Files
F152067: terrible-recurse-hack
May 2 2022, 20:04
2022-05-02 20:04:48 (UTC+0)
Subscribers
None
--- 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());
}
Event Timeline
roguelazer
created this paste.
May 2 2022, 20:04
2022-05-02 20:04:48 (UTC+0)
roguelazer
created this object in space
S1 Public
.
roguelazer
mentioned this in
T15097: arc land when using submodules with squash strategy does not like the submodule.recurse git option
.
May 3 2022, 00:35
2022-05-03 00:35:35 (UTC+0)
gabbydelforge
mentioned this in
Z1: Phorge
.
Dec 15 2023, 19:20
2023-12-15 19:20:39 (UTC+0)
Log In to Comment