From: Junio C Hamano Date: Fri, 12 Aug 2016 19:24:26 GMT Subject: Re: [PATCH v12 04/13] bisect--helper: `bisect_clean_state` shell function in C Message-ID: In-Reply-To: <010201567675ae50-4349bd9e-54a4-44e5-aabb-1d928126b237-000000@eu-west-1.amazonses.com> Pranit Bauva writes: > +static int bisect_clean_state(void) > +{ > + int result = 0; > + > + /* There may be some refs packed during bisection */ > + struct string_list refs_for_removal = STRING_LIST_INIT_NODUP; > + for_each_ref_in("refs/bisect/", mark_for_removal, (void *) &refs_for_removal); > + string_list_append(&refs_for_removal, xstrdup("BISECT_HEAD")); > + result = delete_refs(&refs_for_removal); I think this function has changed its signature recently. I am planning to tag 2.10-rc0 this weekend, and it may be a good time to rebase the series on to an updated codebase.