You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
forge update always passes the --recursive flag to the git submodule update command, which recursively fetches the latest commit for every submodule, including submodules inherited by submodules.
This makes deterministic builds difficult with forge update because updating a submodule A means updating all submodule dependencies therein, regardless of whether or not the latest submodule A is using the latest version of submodule B.
--recursive should not be the default, but should be available as a command-line flag.
This is a regression of issue #2264 which was fixed in #2274
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (80df71f 2023-09-26T18:05:26.004416000Z)
What command(s) is the bug in?
forge update
Operating System
macOS (Apple Silicon)
Describe the bug
forge update
always passes the--recursive
flag to thegit submodule update
command, which recursively fetches the latest commit for every submodule, including submodules inherited by submodules.This makes deterministic builds difficult with
forge update
because updating a submoduleA
means updating all submodule dependencies therein, regardless of whether or not the latest submoduleA
is using the latest version of submoduleB
.--recursive
should not be the default, but should be available as a command-line flag.This is a regression of issue #2264 which was fixed in #2274
The text was updated successfully, but these errors were encountered: