diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-30 11:01:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-30 14:51:47 -0700 |
commit | e8eb25122e2cf966bf774fd0e3596d1b3dc93be6 (patch) | |
tree | fcb257d2dd682fe647ba06f255b71aeba714a65f /version.h | |
parent | bundle: split out a helper function to create pack data (diff) | |
download | tgif-e8eb25122e2cf966bf774fd0e3596d1b3dc93be6.tar.xz |
bundle: split out a helper function to compute and write prerequisites
The new helper compute_and_write_prerequistes() is ugly, but it
cannot be avoided. Ideally we should avoid a function that computes
and does I/O at the same time, but the prerequisites lines in the
output needs the human readable title only to help the recipient of
the bundle. The code copies them straight from the rev-list output
and immediately discards as no other internal computation needs that
information.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions