count-objects: report unused files in $GIT_DIR/worktrees/...
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 30 Nov 2014 08:24:54 +0000 (15:24 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Dec 2014 19:00:18 +0000 (11:00 -0800)
commit77a6d84045c8b558d1e08ff2ffe70347b19be6ef
treed233e6d0b456a28b1102294f8ebc8e37f9a2f2f2
parente3df33bb1b14207848ff339ca27644a01ef17c26
count-objects: report unused files in $GIT_DIR/worktrees/...

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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/count-objects.c
cache.h
path.c