summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2019-04-05 08:00:13 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-08 16:02:07 +0900
commit259ccb6cc324912ea18b151d9c236ac17610c2f5 (patch)
treec8e566085d8cdd0e3a71a9be40e9bf2f5f0d3cb1 /bisect.c
parentUse 'unsigned short' for mode, like diff_filespec does (diff)
downloadtgif-259ccb6cc324912ea18b151d9c236ac17610c2f5.tar.xz
merge-recursive: rename merge_options argument from 'o' to 'opt'
The name 'o' was used for the merge_options struct pointer taken by many functions, but in a few places it was named 'opt'. Several functions that didn't need merge_options instead used 'o' for a diff_filespec argument or local. Some functions needed both an inconsistently either renamed the merge_options to 'opt' or the diff_filespec to 'one'. I want to remove the weird split in the codebase between using a diff_filespec and a pair of (oid,mode) values in favor of using a diff_filespec everywhere, but that dramatically increases the number of cases where we want to use 'o' as a diff_filespec. Rename the merge_options argument to 'opt' to make room. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
0 files changed, 0 insertions, 0 deletions