Re: [PATCH v7 20/22] commit-graph: add '--reachable' option

2018-09-11 Thread Christian Couder
On Tue, Sep 11, 2018 at 1:19 PM, Derrick Stolee wrote: > On 9/11/2018 1:22 AM, Christian Couder wrote: >> It would be nice if the "Future Work" section of >> Documentation/technical/commit-graph.txt had something about >> integration with 'git gc'. > > I'm a bit confused about this statement,

Re: [PATCH v7 20/22] commit-graph: add '--reachable' option

2018-09-11 Thread Derrick Stolee
On 9/11/2018 1:22 AM, Christian Couder wrote: On Wed, Jun 27, 2018 at 3:24 PM, Derrick Stolee wrote: When writing commit-graph files, it can be convenient to ask for all reachable commits (starting at the ref set) in the resulting file. This is particularly helpful when writing to stdin is

Re: [PATCH v7 20/22] commit-graph: add '--reachable' option

2018-09-10 Thread Christian Couder
On Wed, Jun 27, 2018 at 3:24 PM, Derrick Stolee wrote: > When writing commit-graph files, it can be convenient to ask for all > reachable commits (starting at the ref set) in the resulting file. This > is particularly helpful when writing to stdin is complicated, such as a > future integration

Re: [PATCH v7 20/22] commit-graph: add '--reachable' option

2018-06-27 Thread Junio C Hamano
Derrick Stolee writes: > diff --git a/commit-graph.c b/commit-graph.c > index a06e7e9549..adf54e3fe7 100644 > --- a/commit-graph.c > +++ b/commit-graph.c > @@ -7,6 +7,7 @@ > #include "packfile.h" > #include "commit.h" > #include "object.h" > +#include "refs.h" > #include "revision.h" >