Re: [PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-26 Thread Derrick Stolee
On 2/26/2018 11:25 AM, SZEDER Gábor wrote: Teach git the 'commit-graph' builtin that will be used for writing and reading packed graph files. The current implementation is mostly empty, except for an '--object-dir' option. Since 'git commit-graph' is a builtin command, it shouldn't show up in

Re: [PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-26 Thread SZEDER Gábor
> Teach git the 'commit-graph' builtin that will be used for writing and > reading packed graph files. The current implementation is mostly > empty, except for an '--object-dir' option. Since 'git commit-graph' is a builtin command, it shouldn't show up in completion when doing 'git co'. Please

Re: [PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-23 Thread Derrick Stolee
On 2/21/2018 1:58 PM, Junio C Hamano wrote: Junio C Hamano writes: Derrick Stolee writes: +int cmd_commit_graph(int argc, const char **argv, const char *prefix) +{ + static struct option builtin_commit_graph_options[] = { + {

Re: [PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-21 Thread Junio C Hamano
Junio C Hamano writes: > Derrick Stolee writes: > >> +int cmd_commit_graph(int argc, const char **argv, const char *prefix) >> +{ >> +static struct option builtin_commit_graph_options[] = { >> +{ OPTION_STRING, 'p', "object-dir", _dir, >> +

Re: [PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-20 Thread Junio C Hamano
Derrick Stolee writes: > +int cmd_commit_graph(int argc, const char **argv, const char *prefix) > +{ > + static struct option builtin_commit_graph_options[] = { > + { OPTION_STRING, 'p', "object-dir", _dir, > + N_("dir"), > +

[PATCH v4 03/13] commit-graph: create git-commit-graph builtin

2018-02-19 Thread Derrick Stolee
Teach git the 'commit-graph' builtin that will be used for writing and reading packed graph files. The current implementation is mostly empty, except for an '--object-dir' option. Signed-off-by: Derrick Stolee --- .gitignore | 1 +