Re: [PATCH 2/2] rev-list: add --disk-usage option for calculating disk usage
Show 14 quoted lines
> diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
> index 002379056a..1e5826f26d 100644
> --- a/Documentation/rev-list-options.txt
> +++ b/Documentation/rev-list-options.txt
> @@ -222,6 +222,15 @@ ifdef::git-rev-list[]
> test the exit status to see if a range of objects is fully
> connected (or not). It is faster than redirecting stdout
> to `/dev/null` as the output does not have to be formatted.
> +
> +--disk-usage::
> + Suppress normal output; instead, print the sum of the bytes used
> + for on-disk storage by the selected objects. This is equivalent
> + to piping the output of `rev-list --objects` into
> + `git cat-file --batch-check='%(objectsize:disk)', except that it
[ Just a drive-by typo comment from a reader not knowledgeable enough to
review the code change :) ]
The cat-file command is missing its closing quote.