merge-base: separate "--independent" codepath into its own helper
commite2f5df42449ace700e5a237f604c34b4657c0edf
authorJunio C Hamano <gitster@pobox.com>
Mon, 30 Dec 2013 19:37:49 +0000 (30 11:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Dec 2013 19:37:49 +0000 (30 11:37 -0800)
tree5e11f73bb804a5eeaabbe42eec95338ec86beb12
parent2f93541d88fadd1ff5307d81c2c8921ee3eea058
merge-base: separate "--independent" codepath into its own helper

It piggybacks on an unrelated handle_octopus() function only because
there are some similarities between the way they need to preprocess
their input and output their result.  There is nothing similar in
the true logic between these two operations.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge-base.c