@@ -279,10 +279,10 @@ func (t *Threshold) Type() string {
279279// A `pflag.Value` that can be used as a boolean option that sets a
280280// `Threshold` variable to a fixed value. For example,
281281//
282- // pflag.Var(
283- // sizes.NewThresholdFlagValue(&threshold, 30),
284- // "critical", "only report critical statistics",
285- // )
282+ // pflag.Var(
283+ // sizes.NewThresholdFlagValue(&threshold, 30),
284+ // "critical", "only report critical statistics",
285+ // )
286286//
287287// adds a `--critical` flag that sets `threshold` to 30.
288288type thresholdFlagValue struct {
@@ -492,7 +492,7 @@ func (s *HistorySize) contents(refGroups []RefGroup) tableContents {
492492 return S (
493493 "" ,
494494 S (
495- "Overall repository size " ,
495+ "Repository statistics " ,
496496 S (
497497 "Commits" ,
498498 I ("uniqueCommitCount" , "Count" ,
@@ -521,11 +521,18 @@ func (s *HistorySize) contents(refGroups []RefGroup) tableContents {
521521 I ("uniqueBlobCount" , "Count" ,
522522 "The total number of distinct blob objects" ,
523523 nil , s .UniqueBlobCount , metric , "" , 1.5e6 ),
524- I ("uniqueBlobSize" , "Total size" ,
524+ I ("uniqueBlobSize" , "Uncompressed total size" ,
525525 "The total size of all distinct blob objects" ,
526526 nil , s .UniqueBlobSize , binary , "B" , 10e9 ),
527527 ),
528528
529+ S (
530+ "On-disk size" ,
531+ I ("gitDirSize" , "Compressed total size" ,
532+ "The actual on-disk size of the .git directory" ,
533+ nil , s .GitDirSize , binary , "B" , 1e9 ),
534+ ),
535+
529536 S (
530537 "Annotated tags" ,
531538 I ("uniqueTagCount" , "Count" ,
0 commit comments