Don't find objects in packs which aren't available anymore.
[gitweb.git] / git-repack.sh
index 375434b1dcdd3183c85b1278c4415e9136508192..ddfa8b44a17f1ea7ff039bca1d6132ba07e5cf12 100755 (executable)
@@ -28,7 +28,7 @@ done
 # Later we will default repack.UseDeltaBaseOffset to true
 default_dbo=false
 
-case "`git repo-config --bool repack.usedeltabaseoffset ||
+case "`git config --bool repack.usedeltabaseoffset ||
        echo $default_dbo`" in
 true)
        extra="$extra --delta-base-offset" ;;
@@ -110,7 +110,7 @@ then
                  done
                )
        fi
-       git-prune-packed
+       git-prune-packed $quiet
 fi
 
 case "$no_update_info" in