]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
bisect: combine args passed to find_bisection()
authorAaron Lipman <alipman88@gmail.com>
Fri, 7 Aug 2020 21:58:38 +0000 (17:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2020 22:13:03 +0000 (15:13 -0700)
commitad464a4e84b502fdfd4671f1c443060c7e87113f
tree9ba095151311c3c7c160109f030105b42d206826
parente8861ffc203fe5ea3da97210e60b2e886002f218
bisect: combine args passed to find_bisection()

Now that find_bisection() accepts multiple boolean arguments, these may
be combined into a single unsigned integer in order to declutter some of
the code in bisect.c

Also, rename the existing "flags" bitfield to "commit_flags", to
explicitly differentiate it from the new "bisect_flags" bitfield.

Based-on-patch-by: Harald Nordgren <haraldnordgren@gmail.com>
Signed-off-by: Aaron Lipman <alipman88@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c
bisect.h
builtin/rev-list.c