diff options
author | Elijah Newren <newren@gmail.com> | 2019-04-05 08:00:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-08 16:02:07 +0900 |
commit | 259ccb6cc324912ea18b151d9c236ac17610c2f5 (patch) | |
tree | c8e566085d8cdd0e3a71a9be40e9bf2f5f0d3cb1 /dir.h | |
parent | Use 'unsigned short' for mode, like diff_filespec does (diff) | |
download | tgif-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 'dir.h')
0 files changed, 0 insertions, 0 deletions