git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Feb 25, 2016, 02:21 UTC
Message-ID
<56CE6541.7090609@ramsayjones.plus.com>
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(-)
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
Message 1 of 1 in “fetch: mark a file-local symbol as static”
  1. fetch: mark a file-local symbol as staticRamsay Jones, Feb 25, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.