Re: [PATCH v3 3/7] bisect: treat BISECT_HEAD as a ref

2015-06-26 Thread Junio C Hamano
David Turner writes: > Instead of directly writing to and reading from files in > $GIT_DIR, use ref API to interact with BISECT_HEAD. > > Signed-off-by: David Turner > --- Interesting. From the patch, it seems that the codepath that writes BISECT_HEAD were already doing update-ref instead of w

[PATCH v3 3/7] bisect: treat BISECT_HEAD as a ref

2015-06-25 Thread David Turner
Instead of directly writing to and reading from files in $GIT_DIR, use ref API to interact with BISECT_HEAD. Signed-off-by: David Turner --- git-bisect.sh | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/git-bisect.sh b/git-bisect.sh index ae3fec2..dddcc89 100755 --