gc.sh: include size of packed-refs in reposizek
commita0a78b1af3de76748d8a9b6849fe5a155ff214ea
authorKyle J. McKay <mackyle@gmail.com>
Thu, 29 Jan 2015 14:00:44 +0000 (29 06:00 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 29 Jan 2015 14:00:44 +0000 (29 06:00 -0800)
treeab10d8d9ff8cc8b1b0b64c803775853c9cd5d1e9
parent49ce7e548b2bfc79f1c1ed0d5a66ae1505dfcb2f
gc.sh: include size of packed-refs in reposizek

Previously this was excluded as being insignificant.  However, the
repository would be unusable without a list of heads and their
references, so include the size of the packed-refs file along with
the size of the .pack file.

This total should be the same size as a `git bundle create foo --all`
file would be.  In the case of repositories with 26000 (or more)
refs such as often occurs with Gerrit repositories, the packed-refs
file can actually be more than a megabyte in size, so not actually
an insignificant amount.
jobd/gc.sh