Caller scripts may want to know what packfiles the fast-import
process just wrote out for them. This is now output to stdout,
one packfile name per line, after we checkpoint each packfile.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
if (object_count) {
fixup_header_footer();
write_index(idx_name);
+ fprintf(stdout, "%s\n", old_p->pack_name);
+ fflush(stdout);
/* Register the packfile with core git's machinary. */
new_p = add_packed_git(idx_name, strlen(idx_name), 1);