summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.8.4.1.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-02 09:42:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-04 09:54:05 -0700
commitb0eb92bbc297348a47cc25bdd9d32ab338289359 (patch)
treec3a2e5b83b3d95a708cf25cd21750661b19a26de /Documentation/RelNotes/1.8.4.1.txt
parentGit 2.19-rc1 (diff)
downloadtgif-b0eb92bbc297348a47cc25bdd9d32ab338289359.tar.xz
bisect.c: make show_list() build again
This function only compiles when DEBUG_BISECT is 1, which is often not the case. As a result there are two commits [1] [2] that break it but the breakages went unnoticed because the code did not compile by default. Update the function and include the new header file to make this function build again. In order to stop this from happening again, the function is now compiled unconditionally but exits early unless DEBUG_BISECT is non-zero. A smart compiler generates no extra code (not even a function call). But even if it does not, this function does not seem to be in a hot path that the extra cost becomes a big problem. [1] bb408ac95d (bisect.c: use commit-slab for commit weight instead of commit->util - 2018-05-19) [2] cbd53a2193 (object-store: move object access functions to object-store.h - 2018-05-15) Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.8.4.1.txt')
0 files changed, 0 insertions, 0 deletions