From a39d4768e36f27aababefd5bd519e51f33ffa7b6 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 4 Mar 2022 10:47:17 +0800 Subject: [PATCH] Properly use 'max-performance' feature toggle to get pack caches :D (#301) --- Cargo.toml | 2 +- src/shared.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c40facc7036..d253318fa51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ default = ["max"] ## Makes the crate execute as fast as possible by supporting parallel computation of otherwise long-running functions ## as well as fast, hardware accelerated hashing, along with a faster zlib backend. ## If disabled, the binary will be visibly smaller. -fast = ["git-features/parallel", "git-features/fast-sha1", "git-features/zlib-ng-compat"] +fast = ["git-features/parallel", "git-features/fast-sha1", "git-features/zlib-ng-compat", "git-repository/max-performance"] ## Use `clap` 3.0 to build the prettiest, best documented and most user-friendly CLI at the expense of binary size. ## Provides a terminal user interface for detailed and exhaustive progress. diff --git a/src/shared.rs b/src/shared.rs index dba706f1d99..0ffee9bb522 100644 --- a/src/shared.rs +++ b/src/shared.rs @@ -49,7 +49,7 @@ pub mod pretty { use std::io::{stderr, stdout}; use anyhow::Result; - use git_repository::progress; + use git_features::progress; use crate::shared::ProgressRange;