Merge branch 'tl/traverse-non-commits-rename'
Meh. * tl/traverse-non-commits-rename: list-objects.c: rename "traverse_trees_and_blobs" to "traverse_non_commits"
This commit is contained in:
commit
0d4f46b768
@ -337,8 +337,8 @@ static void add_pending_tree(struct rev_info *revs, struct tree *tree)
|
||||
add_pending_object(revs, &tree->object, "");
|
||||
}
|
||||
|
||||
static void traverse_trees_and_blobs(struct traversal_context *ctx,
|
||||
struct strbuf *base)
|
||||
static void traverse_non_commits(struct traversal_context *ctx,
|
||||
struct strbuf *base)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -410,9 +410,9 @@ static void do_traverse(struct traversal_context *ctx)
|
||||
* needs a reallocation for each commit. Can we pass the
|
||||
* tree directory without allocation churn?
|
||||
*/
|
||||
traverse_trees_and_blobs(ctx, &csp);
|
||||
traverse_non_commits(ctx, &csp);
|
||||
}
|
||||
traverse_trees_and_blobs(ctx, &csp);
|
||||
traverse_non_commits(ctx, &csp);
|
||||
strbuf_release(&csp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user