Re: [PATCH v4 1/8] branch: refactor width computation

2015-09-13 Thread Matthieu Moy
Karthik Nayak writes: > Happy to explain. Thanks for the clarification. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majord

Re: [PATCH v4 1/8] branch: refactor width computation

2015-09-13 Thread Karthik Nayak
On Sun, Sep 13, 2015 at 5:21 PM, Matthieu Moy wrote: > Karthik Nayak writes: > >> @@ -667,26 +675,22 @@ static int print_ref_list(int kinds, int detached, int >> verbose, int abbrev, stru >> clear_commit_marks(item->commit, ALL_REV_FLAGS); >> } >>

Re: [PATCH v4 1/8] branch: refactor width computation

2015-09-13 Thread Matthieu Moy
Karthik Nayak writes: > @@ -667,26 +675,22 @@ static int print_ref_list(int kinds, int detached, int > verbose, int abbrev, stru > clear_commit_marks(item->commit, ALL_REV_FLAGS); > } > clear_commit_marks(filter, ALL_REV_FLAGS); > - > -

[PATCH v4 1/8] branch: refactor width computation

2015-09-13 Thread Karthik Nayak
From: Karthik Nayak Remove unnecessary variables from ref_list and ref_item which were used for width computation. This is to make ref_item similar to ref-filter's ref_array_item. This will ensure a smooth port of branch.c to use ref-filter APIs in further patches. Previously the maxwidth was co