Re: [PATCH v5 28/28] count-objects: report unused files in $GIT_DIR/repos/...

2014-03-09 Thread Duy Nguyen
On Sun, Mar 9, 2014 at 3:21 PM, Eric Sunshine wrote: > On Fri, Mar 7, 2014 at 9:48 PM, Nguyễn Thái Ngọc Duy > wrote: >> In linked checkouts, borrowed parts like config is taken from >> $GIT_COMMON_DIR. $GIT_DIR/config is never used. Report them as >> garbage. >> >> Signed-off-by: Nguyễn Thái Ngọ

Re: [PATCH v5 28/28] count-objects: report unused files in $GIT_DIR/repos/...

2014-03-09 Thread Eric Sunshine
On Fri, Mar 7, 2014 at 9:48 PM, Nguyễn Thái Ngọc Duy wrote: > In linked checkouts, borrowed parts like config is taken from > $GIT_COMMON_DIR. $GIT_DIR/config is never used. Report them as > garbage. > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/path.c b/path.c > index ddb5962..5a7

[PATCH v5 28/28] count-objects: report unused files in $GIT_DIR/repos/...

2014-03-07 Thread Nguyễn Thái Ngọc Duy
In linked checkouts, borrowed parts like config is taken from $GIT_COMMON_DIR. $GIT_DIR/config is never used. Report them as garbage. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/count-objects.c | 4 +++- cache.h | 1 + path.c | 29 ++