summary refs log tree commit diff
path: root/pkgs/build-support/fetchgit/default.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-08-03 05:07:34 -0700
committerAdam Joseph <adam@westernsemico.com>2022-08-03 05:07:34 -0700
commitc8a1838d30fc1f7606b74ada544c73e8a868c0eb (patch)
tree7aba5c4cd8fa4596d3bc8ac4b3aa605a95e8f7f0 /pkgs/build-support/fetchgit/default.nix
parent7fe922b3582af42aedf05228d10702cb7d184293 (diff)
downloadnixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar.gz
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar.bz2
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar.lz
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar.xz
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.tar.zst
nixpkgs-c8a1838d30fc1f7606b74ada544c73e8a868c0eb.zip
fetchgit: remove "security" from comment about "security risk"
Closes #178410
Diffstat (limited to 'pkgs/build-support/fetchgit/default.nix')
-rw-r--r--pkgs/build-support/fetchgit/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix
index 84f2278db29..3bc93ce263f 100644
--- a/pkgs/build-support/fetchgit/default.nix
+++ b/pkgs/build-support/fetchgit/default.nix
@@ -33,7 +33,7 @@ in
 
 /* NOTE:
    fetchgit has one problem: git fetch only works for refs.
-   This is because fetching arbitrary (maybe dangling) commits may be a security risk
+   This is because fetching arbitrary (maybe dangling) commits creates garbage collection risks
    and checking whether a commit belongs to a ref is expensive. This may
    change in the future when some caching is added to git (?)
    Usually refs are either tags (refs/tags/*) or branches (refs/heads/*)