1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

Merge pull request #9411 from edolstra/path-display

Improve SourceAccessor path display
This commit is contained in:
Robert Hensing 2023-11-21 18:12:01 +01:00 committed by GitHub
commit 9cd69e1c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 2 deletions

View file

@ -585,6 +585,8 @@ struct GitInputScheme : InputScheme
auto accessor = repo->getAccessor(rev);
accessor->setPathDisplay("«" + input.to_string() + "»");
/* If the repo has submodules, fetch them and return a mounted
input accessor consisting of the accessor for the top-level
repo and the accessors for the submodules. */