summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-04-25 12:00:14 -0700
committerJunio C Hamano <gitster@pobox.com>2015-04-29 13:19:21 -0700
commit34349dbff8632c353f083959881e38e1c853abf8 (patch)
tree966d6eed970ef37790808068af931dac05bb226e /commit.h
parent0b10b8a3d53c7aaf42b8f14da1021ea59ea4e0ec (diff)
downloadgit-34349dbff8632c353f083959881e38e1c853abf8.tar.gz
merge: split reduce_parents() out of collect_parents()
The latter does two separate things: - Parse the list of commits on the command line, and formulate the list of commits to be merged (including the current HEAD); - Compute the list of parents to be recorded in the resulting merge commit. Split the latter into a separate helper function, so that we can later supply the list commits to be merged from a different source (namely, FETCH_HEAD). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions