From: Martin Ågren Date: Sun, 5 Nov 2017 20:24:28 +0000 (+0100) Subject: bisect: change calling-convention of `find_bisection()` X-Git-Tag: v2.15.1~4^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/24d707f636f01d41f708a010f255dd46a8fce08c?hp=24d707f636f01d41f708a010f255dd46a8fce08c bisect: change calling-convention of `find_bisection()` This function takes a commit list and returns a commit list. The returned list is built by modifying the original list. Thus the caller should not use the original list again (and after the next commit fixes a memory leak, it must not). Change the function signature so that it takes a **list and has void return type. That should make it harder to misuse this function. While we're here, document this function. Signed-off-by: Martin Ågren Signed-off-by: Junio C Hamano ---