Thread (49 messages) flat view 49 messages, 2 authors, 2016-06-15

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

From: Michael Haggerty <hidden>
Date: 2016-06-15 22:56:51

On 04/15/2013 07:38 PM, Junio C Hamano wrote:
quoted
+/*
+ * 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.  flags can be DO_FOR_EACH_INCLUDE_BROKEN to include
+ * broken references in the iteration.
+ */
Early termination due to "fn()" returning non-zero needs to be
documented here, no?
quoted
 static int do_for_each_ref(const char *submodule, const char *base, each_ref_fn fn,
Correct, thanks.  Will be fixed in re-roll.

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help