]> git.ipfire.org Git - thirdparty/git.git/commit - bisect.c
bisect: add git_path_bisect_terms helper
authorJeff King <peff@peff.net>
Thu, 20 Apr 2017 21:08:25 +0000 (17:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Apr 2017 04:03:06 +0000 (21:03 -0700)
commitf5d284f6df5413f1fcdf2c92bbf0e8523298c483
tree36ea5dd9df53a0ea074ef5db52b21219aa50c28a
parent49800c940790cc7465d1b03e08d472ffd8684808
bisect: add git_path_bisect_terms helper

This avoids using the dangerous git_path(). Right now
there's only one call site (because the writing half is
still part of the shell script), but it may come in handy in
the future as more of bisect is written in C. It also
matches how we access the other BISECT_* files.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c