Skip to content
Snippets Groups Projects
  1. Mar 20, 2020
  2. Mar 19, 2020
  3. Mar 18, 2020
  4. Mar 17, 2020
    • Eelco Dolstra's avatar
      Git: Use unified caching system · 38e36015
      Eelco Dolstra authored
      38e36015
    • Eelco Dolstra's avatar
      Require shallow clones to be requested explicitly · d1165d87
      Eelco Dolstra authored
      If you do a fetchTree on a Git repository, whether the result contains
      a revCount attribute should not depend on whether that repository
      happens to be a shallow clone or not. That would complicate caching a
      lot and would be semantically messy. So applying fetchTree/fetchGit to
      a shallow repository is now an error unless you pass the attribute
      'shallow = true'. If 'shallow = true', we don't return revCount, even
      if the repository is not actually shallow.
      
      Note that Nix itself is not doing shallow clones at the moment. But it
      could do so as an optimisation if the user specifies 'shallow = true'.
      
      Issue #2988.
      d1165d87
    • Eelco Dolstra's avatar
      Unified fetcher caching system · 2a4e4f6a
      Eelco Dolstra authored
      2a4e4f6a
  5. Mar 16, 2020
  6. Mar 14, 2020
  7. Mar 13, 2020
Loading