From: Eduardo Habkost Date: Mon, 04 Jun 2018 19:42:41 GMT Subject: Re: [PATCH] format-patch: clear UNINTERESTING flag before prepare_bases Message-ID: <20180604194241.GV7451@localhost.localdomain> In-Reply-To: <20180604150543.7304-1-xiaolong.ye@intel.com> On Mon, Jun 04, 2018 at 11:05:43PM +0800, Xiaolong Ye wrote: > When users specify the commit range with 'Z..C' pattern for format-patch, all > the parents of Z (including Z) would be marked as UNINTERESTING which would > prevent revision walk in prepare_bases from getting the prerequisite commits, > thus `git format-patch --base Z..C` won't be able to generate > the list of prerequisite patch ids. Clear UNINTERESTING flag with > clear_object_flags solves this issue. > > Reported-by: Eduardo Habkost > Signed-off-by: Xiaolong Ye Thanks! The fix works for me. Tested-by: Eduardo Habkost -- Eduardo