Re: [PATCH v2 1/4] list-object: add get_commit_count function

2015-07-03 Thread Matthieu Moy
Lawrence Siebert writes: > Mattieu, > > Understood. I don't suppose there is any commonly code formatting tool > to automate formatting in the git style, is there? IIRC, someone posted a configuration file for clang-format that essentially matches the Git coding style. You can read Documentatio

Re: [PATCH v2 1/4] list-object: add get_commit_count function

2015-07-03 Thread Lawrence Siebert
Mattieu, Understood. I don't suppose there is any commonly code formatting tool to automate formatting in the git style, is there? Thanks, Lawrence On Fri, Jul 3, 2015 at 12:24 AM, Matthieu Moy wrote: > Lawrence Siebert writes: > >> +void get_commit_count(struct rev_info * revs) { > > Please,

Re: [PATCH v2 1/4] list-object: add get_commit_count function

2015-07-03 Thread Matthieu Moy
Lawrence Siebert writes: > +void get_commit_count(struct rev_info * revs) { Please, write "struct rev_info *revs" (stick * to revs). > +void get_commit_count(struct rev_info * revs); Likewise. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "u

[PATCH v2 1/4] list-object: add get_commit_count function

2015-07-02 Thread Lawrence Siebert
Moving commit counting from rev-list into list-object which is a step toward letting git log do counting as well. Signed-off-by: Lawrence Siebert --- builtin/rev-list.c | 12 ++-- list-objects.c | 14 ++ list-objects.h | 1 + 3 files changed, 17 insertions(+), 10 del