bundle: split out a helper function to create pack data
commit5e626b91d4a5d2cfee8747facd53d7661f1f9112
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Oct 2014 17:45:41 +0000 (30 10:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Oct 2014 21:45:52 +0000 (30 14:45 -0700)
treea97e13af4d2c822ec26e306d68d51c4e8e79f754
parent8828f2985f1967201c256fb01f92a91acfdb5001
bundle: split out a helper function to create pack data

The create_bundle() function, while it does one single logical
thing, takes a rather large implementation to do so.

Let's start separating what it does into smaller steps to make it
easier to see what is going on.  This is a first step to separate
out the actual pack-data generation, after the earlier part of the
function figures out which part of the history to place in the
bundle.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c