mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
Improve display of Git inputs
This commit is contained in:
parent
440214f9c1
commit
89f10212f6
1 changed files with 3 additions and 1 deletions
|
@ -748,7 +748,9 @@ struct GitInputScheme : InputScheme
|
|||
files from the Git repository directly. */
|
||||
if (input.getRef() || input.getRev() || !repoInfo.isLocal) {
|
||||
auto storePath = fetchToStore(store, repoInfo, input);
|
||||
return {makeStorePathAccessor(store, storePath, std::move(makeNotAllowedError)), input};
|
||||
auto accessor = makeStorePathAccessor(store, storePath, std::move(makeNotAllowedError));
|
||||
accessor->setPathDisplay("«" + input.to_string() + "»");
|
||||
return {accessor, input};
|
||||
}
|
||||
|
||||
repoInfo.checkDirty();
|
||||
|
|
Loading…
Reference in a new issue