summaryrefslogtreecommitdiff
path: root/levenshtein.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-30 11:01:37 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-30 14:51:47 -0700
commite8eb25122e2cf966bf774fd0e3596d1b3dc93be6 (patch)
treefcb257d2dd682fe647ba06f255b71aeba714a65f /levenshtein.c
parent5e626b91d4a5d2cfee8747facd53d7661f1f9112 (diff)
downloadgit-e8eb25122e2cf966bf774fd0e3596d1b3dc93be6.tar.gz
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 'levenshtein.c')
0 files changed, 0 insertions, 0 deletions