From 60ec75048ae0e0bc72ea2fe47e8b48fcf40a2b86 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Dec 2008 12:23:35 +0000 Subject: * Pass --use-atime / --max-atime to the daemon. --- src/libstore/remote-store.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libstore/remote-store.cc') diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index 585e6bd9c..d892e3e62 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -426,6 +426,10 @@ void RemoteStore::collectGarbage(const GCOptions & options, GCResults & results) writeInt(options.ignoreLiveness, to); writeLongLong(options.maxFreed, to); writeInt(options.maxLinks, to); + if (GET_PROTOCOL_MINOR(daemonVersion) >= 5) { + writeInt(options.useAtime, to); + writeInt(options.maxAtime, to); + } processStderr(); -- cgit v1.2.3