From: Nguyen Thai Ngoc Duy Date: Tue, 30 Aug 2011 13:03:35 GMT Subject: Re: [PATCH 2/3] unpack-trees: allow pruning with pathspec Message-ID: In-Reply-To: <1314653603-7533-3-git-send-email-gitster@pobox.com> On Tue, Aug 30, 2011 at 4:33 AM, Junio C Hamano wrote: > and this codepath probably should not be enabled while running a merge But do you think if it works with merge (ie. a partial merge)? There's probably no interest in partial merge now, but if narrow clone comes, index will be also narrowed and at least fast-forward merge should work. I think it may work, but I'm not sure. unpack_callback() and traverse_trees() look like magic to me. There may be some interactions between index and unpacked trees that make partial merge fail in a subtle way. -- Duy