github/git-sizer

git cat-file: error: unknown option `buffer'

pawamoy opened this issue · 2 comments

Just downloaded git-sizer 1.0.0 and tried it on one of my repos.
My git is 2.1.4.

Here is the message:

$ git-sizer
error: unknown option `buffer'
usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
   or: git cat-file (--batch|--batch-check) < <list_of_objects>

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input

Processing blobs: 0                        
error: error scanning repository: read |0: file already closed
jwilk commented

This option was added in Git v2.6.0: git/git@fc4937c

I see, thank you!