Skip to content

Commit

Permalink
Remove stray ta
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Jun 4, 2020
1 parent 35d187a commit 010013e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstore/local-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1019,8 +1019,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, Source & source,
return n;
});

auto p = info.ca ? std::get_if<FileSystemHash>(&*info.ca) : NULL;

auto p = info.ca ? std::get_if<FileSystemHash>(&*info.ca) : NULL;
if (p && p->method == FileIngestionMethod::Git)
restoreGit(realPath, wrapperSource, realStoreDir, storeDir);
else
Expand Down

0 comments on commit 010013e

Please sign in to comment.