aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-26 20:00:02 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-26 20:00:02 +0200
commit8be1979f1ae4b85c36988f7b3cf8240c9682dc54 (patch)
tree80ec98cfb3ec5a86b72a9ee9f07d3ede4ee36b3c /src/nix-store
parent19d9762ad5fc8d8db3e9a545a89309f08572cc9f (diff)
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')
-rw-r--r--src/nix-store/nix-store.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 404da2c51..fa96725b1 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");