diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-18T03·44+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-07-18T18·08+0000 |
commit | 56614c75e4a187c34706af718d9d8d69685c41b2 (patch) | |
tree | 070f39fa29e49444e0484e1a21e646b61f69a352 /third_party/git/color.c | |
parent | effbb277c3b78ebbb78f6faca372ec19881059e1 (diff) |
refactor(3p/nix/libexpr): Store nix::Env values in a std::vector r/1376
This has several advantages: * we can ensure that the vector is traced by the GC * we don't need to unsafely allocate memory to make an Env Note that there was previously a check about the size of the environment, but it's unclear why this was the case (git history yielded nothing interesting) and it seems to have no effect. Change-Id: I4998b879a728a6fb68e1bd187c521e2304e5047e Reviewed-on: https://cl.tvl.fyi/c/depot/+/1265 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/git/color.c')
0 files changed, 0 insertions, 0 deletions