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/