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.
This commit is contained in:
Colin Walters 2012-02-23 21:52:15 -05:00
parent 7907a853b4
commit 8145faecbf
1 changed files with 0 additions and 1 deletions

View File

@ -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))