diff --git a/unpack-trees.c b/unpack-trees.c
index cc616c3f991a655d10fcac15055fcdfafa8620fd..237aed8c766638c55d8d6b870c86ef2ad13a74d3 100644 (file)
--- a/unpack-trees.c
+++ b/unpack-trees.c
string_list_clear(rejects, 0);
}
if (something_displayed)
string_list_clear(rejects, 0);
}
if (something_displayed)
- printf("Aborting\n");
+ fprintf(stderr, "Aborting\n");
}
/*
}
/*
newinfo = *info;
newinfo.prev = info;
newinfo = *info;
newinfo.prev = info;
+ newinfo.pathspec = info->pathspec;
newinfo.name = *p;
newinfo.pathlen += tree_entry_len(p->path, p->sha1) + 1;
newinfo.conflicts |= df_conflicts;
newinfo.name = *p;
newinfo.pathlen += tree_entry_len(p->path, p->sha1) + 1;
newinfo.conflicts |= df_conflicts;
@@ -1040,6 +1041,7 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options
info.fn = unpack_callback;
info.data = o;
info.show_all_errors = o->show_all_errors;
info.fn = unpack_callback;
info.data = o;
info.show_all_errors = o->show_all_errors;
+ info.pathspec = o->pathspec;
if (o->prefix) {
/*
if (o->prefix) {
/*