Re: [PATCH v2 3/3] count-objects: report how much disk space taken by garbage files

2013-02-08 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > We may do some redundant stat() here, but I don't think it can slow > count-objects down much to worry about. I don't either. Looks like a good change to me. It appears that the sb.buf refactoring is better done to

[PATCH v2 3/3] count-objects: report how much disk space taken by garbage files

2013-02-07 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- We may do some redundant stat() here, but I don't think it can slow count-objects down much to worry about. Documentation/git-count-objects.txt | 2 ++ builtin/count-objects.c | 29 ++--- 2 files changed, 20 insertio