Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Print the packfile names to stdout from fast-import.
author
Shawn O. Pearce
<spearce@spearce.org>
Mon, 15 Jan 2007 13:03:38 +0000
(08:03 -0500)
committer
Shawn O. Pearce
<spearce@spearce.org>
Mon, 15 Jan 2007 13:05:01 +0000
(08:05 -0500)
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>
fast-import.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d9ee53c
)
diff --git
a/fast-import.c
b/fast-import.c
index c19567f68cee1421aa53f68d89f250e5bc99e51a..19d01e20adda0ab0f614fca763dfd1d479255535 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-719,6
+719,8
@@
static void end_packfile()
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);