]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.h
merge-recursive: use common name for ancestors/common/base_list
authorElijah Newren <newren@gmail.com>
Sat, 17 Aug 2019 18:41:34 +0000 (11:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Aug 2019 17:08:03 +0000 (10:08 -0700)
commitff1bfa2cd5693900a84750dc47cda3cee3cf6ba7
tree8007ffb36bb8cec347919b40ac2e1a72f142919d
parent4d7101e25cfd5fba24ddc310f10c3962edba8b4d
merge-recursive: use common name for ancestors/common/base_list

merge_trees(), merge_recursive(), and merge_recursive_generic() in
their function headers used four different names for the merge base or
list of merge bases they were passed:
  * 'common'
  * 'ancestors'
  * 'ca'
  * 'base_list'
They were able to refer to it four different ways instead of only three
by using a different name in the signature for the .c file than the .h
file.  Change all of these to 'merge_base' or 'merge_bases'.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c
merge-recursive.h