[ostree] pull: Don't automatically uncompress data



commit 8145faecbf944a0b2d476b42f5a751436080e9d8
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 23 21:52:15 2012 -0500

    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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ostree-pull.c b/src/ostree/ostree-pull.c
index 5745008..c088cb5 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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]