Re: [PATCH 03/33] refs: document do_for_each_ref() and do_one_ref()

2013-04-16 Thread Michael Haggerty
On 04/15/2013 07:38 PM, Junio C Hamano wrote: >> +/* >> + * Call fn for each reference in the specified submodule for which the >> + * refname begins with base. If trim is non-zero, then trim that many >> + * characters off the beginning of each refname before passing the >> + * refname to fn. fl

Re: [PATCH 03/33] refs: document do_for_each_ref() and do_one_ref()

2013-04-15 Thread Junio C Hamano
Michael Haggerty writes: > Signed-off-by: Michael Haggerty > --- > refs.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/refs.c b/refs.c > index 1df1ccd..f503ec4 100644 > --- a/refs.c > +++ b/refs.c > @@ -525,10 +525,14 @@ static void sort_ref_dir(struct

[PATCH 03/33] refs: document do_for_each_ref() and do_one_ref()

2013-04-14 Thread Michael Haggerty
Signed-off-by: Michael Haggerty --- refs.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/refs.c b/refs.c index 1df1ccd..f503ec4 100644 --- a/refs.c +++ b/refs.c @@ -525,10 +525,14 @@ static void sort_ref_dir(struct ref_dir *dir) dir->sorted = dir->nr =