aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-07 15:35:32 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-02-07 16:01:36 +0100
commit2edd5cf6184a7955ba82a2aed8bbfa870bfeb15f (patch)
tree73a688e532378dc3255041dbf25fb170ec569499 /src/libutil
parent81e75e4bf6083046155a0c1fd6e312b43a60f7da (diff)
Fix the origin URL used for fetching submodules
We cannot use 'actualUrl', because for file:// repos that's not the original URL that the repo was fetched from. This is a problem since submodules may be relative to the original URL. Fixes e.g. nix eval --impure --json --expr 'builtins.fetchTree { type = "git"; url = "/path/to/blender"; submodules = true; }' where /path/to/blender is a clone of https://github.com/blender/blender.git (which has several relative submodules like '../blender-addons.git').
Diffstat (limited to 'src/libutil')
0 files changed, 0 insertions, 0 deletions