Re: [PATCH 2/7] revision.h: introduce blob/tree walking in order of the commits

2017-10-31 Thread Stefan Beller
On Mon, Oct 30, 2017 at 11:57 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> diff --git a/list-objects.c b/list-objects.c >> index bf46f80dff..5e114c9a8a 100644 >> --- a/list-objects.c >> +++ b/list-objects.c >> @@ -237,6 +237,8 @@ void traverse_commit_list(struct rev_info *revs, >>

Re: [PATCH 2/7] revision.h: introduce blob/tree walking in order of the commits

2017-10-30 Thread Junio C Hamano
Stefan Beller writes: > diff --git a/list-objects.c b/list-objects.c > index bf46f80dff..5e114c9a8a 100644 > --- a/list-objects.c > +++ b/list-objects.c > @@ -237,6 +237,8 @@ void traverse_commit_list(struct rev_info *revs, > if (commit->tree) > add_pending_tre

[PATCH 2/7] revision.h: introduce blob/tree walking in order of the commits

2017-10-30 Thread Stefan Beller
The functionality to list tree objects in the order they were seen while traversing the commits will be used in the next commit, where we teach `git describe` to describe not only commits, but trees and blobs, too. Helped-by: Johannes Schindelin Signed-off-by: Stefan Beller --- list-objects.c