mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
builtins.fetchGit is not using the cached Git directory if packed-references are used. This is because the ref file for the fetchGit `refs/heads/master` is used to check the mtime for whether to cache or not. Let's at least codify this failure in a test case.
6 lines
132 B
Meson
6 lines
132 B
Meson
suites += {
|
|
'name' : 'git',
|
|
'deps' : [],
|
|
'tests' : [ 'packed-refs-no-cache.sh' ],
|
|
'workdir' : meson.current_source_dir(),
|
|
}
|