[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: serialization: Remove redundancy in 'write-file'.
From: |
Ludovic Courtès |
Subject: |
02/07: serialization: Remove redundancy in 'write-file'. |
Date: |
Sun, 23 Sep 2018 17:34:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c122a2e509df98c4391750a066fecba37465eab3
Author: Ludovic Courtès <address@hidden>
Date: Sun Sep 23 22:11:35 2018 +0200
serialization: Remove redundancy in 'write-file'.
* guix/serialization.scm (write-file): Remove redundant 'member' call.
---
guix/serialization.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/guix/serialization.scm b/guix/serialization.scm
index 129374f..87ad7ee 100644
--- a/guix/serialization.scm
+++ b/guix/serialization.scm
@@ -301,8 +301,7 @@ result of 'lstat'; exclude entries for which SELECT? does
not return true."
(filter-map (lambda (base)
(let ((file (string-append directory
"/" base)))
- (and (not (member base '("." "..")))
- (select? file (lstat file))
+ (and (select? file (lstat file))
base)))
basenames))
- branch master updated (e10bf49 -> fce2254), Ludovic Courtès, 2018/09/23
- 02/07: serialization: Remove redundancy in 'write-file'.,
Ludovic Courtès <=
- 03/07: store-copy: Display a progress bar when copying store items., Ludovic Courtès, 2018/09/23
- 04/07: database: 'register-items' shows a progress bar., Ludovic Courtès, 2018/09/23
- 01/07: system: Mention '--skip-checks' in initrd diagnostics., Ludovic Courtès, 2018/09/23
- 05/07: database: Register each store item only once., Ludovic Courtès, 2018/09/23
- 07/07: vm: Use "cache=loose" for all 9p mounts., Ludovic Courtès, 2018/09/23
- 06/07: vm: Disable deduplication for 'guix system vm-image'., Ludovic Courtès, 2018/09/23