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:
commit
9cd69e1c39
6 changed files with 19 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue