Re: [PATCH v12 04/13] bisect--helper: `bisect_clean_state` shell function in C

2016-08-12 Thread Junio C Hamano
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/",

[PATCH v12 04/13] bisect--helper: `bisect_clean_state` shell function in C

2016-08-10 Thread Pranit Bauva
Reimplement `bisect_clean_state` shell function in C and add a `bisect-clean-state` subcommand to `git bisect--helper` to call it from git-bisect.sh . Using `--bisect-clean-state` subcommand is a measure to port shell function to C so as to use the existing test suite. As more functions are