diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-26 20:00:02 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-03-26 20:00:02 +0200 |
commit | 8be1979f1ae4b85c36988f7b3cf8240c9682dc54 (patch) | |
tree | 80ec98cfb3ec5a86b72a9ee9f07d3ede4ee36b3c /src/nix-store/nix-store.cc | |
parent | 19d9762ad5fc8d8db3e9a545a89309f08572cc9f (diff) | |
download | guix-8be1979f1ae4b85c36988f7b3cf8240c9682dc54.tar.gz |
Remove the --max-links GC option
We don't need this anymore now that current filesystems support more than 32,000 files in a directory.
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r-- | src/nix-store/nix-store.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 404da2c51f..fa96725b1b 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -562,7 +562,6 @@ static void opGC(Strings opFlags, Strings opArgs) long long maxFreed = getIntArg<long long>(*i, i, opFlags.end()); options.maxFreed = maxFreed >= 1 ? maxFreed : 1; } - else if (*i == "--max-links") options.maxLinks = getIntArg<unsigned int>(*i, i, opFlags.end()); else throw UsageError(format("bad sub-operation `%1%' in GC") % *i); if (!opArgs.empty()) throw UsageError("no arguments expected"); |