mirror of
https://github.com/NixOS/nix
synced 2025-07-04 03:01:47 +02:00
Fix duplicate setPathDisplay()
Fixes messages like 'copying /tmp/repo/tmp/repo to the store'. The
PosixSourceAccessor already sets the prefix. Setting the prefix twice
shouldn't be a problem, but GitRepoImpl::getAccessor() returns a
wrapped accessor so it's not actually idempotent.
(cherry picked from commit 102d90ebf0
)
This commit is contained in:
parent
a02e814b4b
commit
1c1f8b2343
2 changed files with 1 additions and 2 deletions
|
@ -737,8 +737,6 @@ struct GitInputScheme : InputScheme
|
|||
exportIgnore,
|
||||
makeNotAllowedError(repoInfo.locationToArg()));
|
||||
|
||||
accessor->setPathDisplay(repoInfo.locationToArg());
|
||||
|
||||
/* If the repo has submodules, return a mounted input accessor
|
||||
consisting of the accessor for the top-level repo and the
|
||||
accessors for the submodule workdirs. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue