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

[PATCH] branch: mark a file-local symbol with static

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Dec 10, 2016, 21:46 UTC
Message-ID
<16326b3f-45c8-df4e-d52f-5dac62610b21@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Karthik,

If you need to re-roll your 'kn/ref-filter-branch-list' branch, could you please squash this into the relevant patch (commit 715a4826ab, "branch: use ref-filter printing APIs", 07-12-2016).

Thanks!

ATB, Ramsay Jones

 builtin/branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/branch.c b/builtin/branch.c
index 2c9aa2b29..4386273ce 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -306,7 +306,7 @@ static int calc_maxwidth(struct ref_array *refs, int remote_bonus)
 	return max;
 }
 
-const char *quote_literal_for_format(const char *s)
+static const char *quote_literal_for_format(const char *s)
 {
 	struct strbuf buf = STRBUF_INIT;
 
-- 
2.11.0
Message 1 of 1 in “branch: mark a file-local symbol with static”
  1. branch: mark a file-local symbol with staticRamsay Jones, Dec 10, 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.