aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-12-13 12:55:52 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-12-13 12:55:52 +0100
commit3e787423c22c34d65fd6fe0cdf2e6ec333d81c0b (patch)
tree3cc0a85b18bbc911c84d8dc3c1d7ebca5031049a /src
parentd1b238ec3cd74d652af46f577f992c9a44ac8e32 (diff)
Remove FIXME
Diffstat (limited to 'src')
-rw-r--r--src/libutil/tarfile.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/tarfile.cc b/src/libutil/tarfile.cc
index c00673182..79fb9f721 100644
--- a/src/libutil/tarfile.cc
+++ b/src/libutil/tarfile.cc
@@ -22,7 +22,6 @@ void unpackTarfile(const Path & tarFile, const Path & destDir,
auto source = sinkToSource([&](Sink & sink) {
// FIXME: look at first few bytes to determine compression type.
auto decompressor =
- // FIXME: add .gz support
hasSuffix(*baseName, ".bz2") ? makeDecompressionSink("bzip2", sink) :
hasSuffix(*baseName, ".gz") ? makeDecompressionSink("gzip", sink) :
hasSuffix(*baseName, ".xz") ? makeDecompressionSink("xz", sink) :