mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Implement shallow fetching
This commit is contained in:
parent
5dd4ae8687
commit
7ab91e7238
3 changed files with 31 additions and 24 deletions
|
@ -75,7 +75,8 @@ struct GitRepo
|
|||
|
||||
virtual void fetch(
|
||||
const std::string & url,
|
||||
const std::string & refspec) = 0;
|
||||
const std::string & refspec,
|
||||
bool shallow) = 0;
|
||||
|
||||
/**
|
||||
* Verify that commit `rev` is signed by one of the keys in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue