From: Nguyen Thai Ngoc Duy Date: Sun, 01 Aug 2010 23:11:33 GMT Subject: Re: [PATCH 02/16] list-objects: limit traversing within the given subtree if core.subtree is set Message-ID: In-Reply-To: 2010/8/1 Ævar Arnfjörð Bjarmason : >> +       int subtree_len; > > Shouldn't that be size_t? strlen returns size_t, and strncmp expects > size_t, not int. > Hmm.. yeah. The compiler didn't warn me. Anyway subtree_len should be small enough (i.e. < PATH_MAX) that type does not really matters. -- Duy