Thread (57 messages) flat view 57 messages, 5 authors, 2016-06-16

Re: [PATCH v7 09/33] refs: reduce the visibility of do_for_each_ref()

From: David Turner <hidden>
Date: 2016-06-15 23:08:56

On Thu, 2016-03-24 at 08:07 +0100, Michael Haggerty wrote:
quoted
+/*
+ * The common backend for the for_each_*ref* functions
+ */
+static int do_for_each_ref(const char *submodule, const char
*base,
+		    each_ref_fn fn, int trim, int flags,
+		    void *cb_data)
The two lines above are indented incorrectly.
Fixed, thanks.
quoted
-
-int do_for_each_ref(const char *submodule, const char *base,
-		    each_ref_fn fn, int trim, int flags,
-		    void *cb_data)
-{
-	return the_refs_backend->do_for_each_ref(submodule, base,
fn, trim,
-						 flags, cb_data);
-}
Nit: in the previous patch, please put the function where you want it
so
that you don't have to move it in this patch.
quoted
[...]
Michael
Ok.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help