From 8145faecbf944a0b2d476b42f5a751436080e9d8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 23 Feb 2012 21:52:15 -0500 Subject: [PATCH] pull: Don't automatically uncompress data This totally breaks when the file we're trying to request was already gzip'd. We don't want to uncompress e.g. man pages because that breaks content-addressed storage. --- src/ostree/ostree-pull.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ostree/ostree-pull.c b/src/ostree/ostree-pull.c index 57450083..c088cb53 100644 --- a/src/ostree/ostree-pull.c +++ b/src/ostree/ostree-pull.c @@ -520,7 +520,6 @@ ostree_builtin_pull (int argc, char **argv, GFile *repo_path, GError **error) soup = soup_session_sync_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ", SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_GNOME_FEATURES_2_26, - SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_CONTENT_DECODER, SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_COOKIE_JAR, NULL); if (!fetch_uri (repo, soup, target_uri, "ref-", &tempf, error))