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

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

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Mar 9, 2017, 01:47 UTC
Message-ID
<5a67328d-bbea-4dda-b9bc-32c15d960bcf@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Stefan,

If you need to re-roll your 'sb/checkout-recurse-submodules' branch, could you please squash this into the relevant patch (commit 97aadb19f1, "builtin/read-tree: add --recurse-submodules switch", 06-03-2017).

ATB, Ramsay Jones

 builtin/read-tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/read-tree.c b/builtin/read-tree.c
index 2dc5cc06d..23e212ee8 100644
--- a/builtin/read-tree.c
+++ b/builtin/read-tree.c
@@ -21,7 +21,7 @@
 static int nr_trees;
 static int read_empty;
 static struct tree *trees[MAX_UNPACK_TREES];
-int recurse_submodules = RECURSE_SUBMODULES_DEFAULT;
+static int recurse_submodules = RECURSE_SUBMODULES_DEFAULT;
 
 static int list_tree(unsigned char *sha1)
 {
-- 
2.12.0
Message 1 of 1 in “read-tree: mark a file-local symbol as static”
  1. read-tree: mark a file-local symbol as staticRamsay Jones, Mar 9, 2017

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.