threads / patch / 41511

patchfetch: mark a file-local symbol as static

Subject: [PATCH] fetch: mark a file-local symbol as static

## tl;dr

One message between Feb 25, 2016 and Feb 25, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ramsay Jones· Feb 25, 2016, 02:21 UTC · lore
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Duy,

If you need to re-roll your 'nd/shallow-deepen' branch, could you please squash this into the relevant patch (ie "fetch: define shallow boundary with --shallow-exclude", 23-02-2016).

Thanks!

ATB, Ramsay Jones

 builtin/fetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/fetch.c +1 −1
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 1cf15d0..9bec031 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -42,7 +42,7 @@ static enum transport_family family;
 static const char *depth;
 static const char *deepen_since;
 static const char *upload_pack;
-struct string_list deepen_not = STRING_LIST_INIT_NODUP;
+static struct string_list deepen_not = STRING_LIST_INIT_NODUP;
 static struct strbuf default_rla = STRBUF_INIT;
 static struct transport *gtransport;
 static struct transport *gsecondary;
-- 
2.7.0

← back to recent threads