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

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

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jul 6, 2017, 16:00 UTC
Message-ID
<fc3e4da5-a432-3038-eb97-42a4f2afe766@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Jeff,

When you re-roll your 'jk/reflog-walk' branch, could you please squash this into the relevant patch (commit beafb2c629, "reflog-walk: stop using fake parents", 05-07-2017).

Thanks!

ATB, Ramsay Jones

 reflog-walk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reflog-walk.c b/reflog-walk.c
index a7644d944..8effe722b 100644
--- a/reflog-walk.c
+++ b/reflog-walk.c
@@ -284,7 +284,7 @@ int reflog_walk_empty(struct reflog_walk_info *info)
 	return !info || !info->nr;
 }
 
-struct commit *next_entry_in_log(struct commit_reflog *log)
+static struct commit *next_entry_in_log(struct commit_reflog *log)
 {
 	while (log->recno >= 0) {
 		struct reflog_info *entry = &log->reflogs->items[log->recno--];
-- 
2.13.0
Message 1 of 1 in “reflog-walk: mark a file-local symbol as static”
  1. reflog-walk: mark a file-local symbol as staticRamsay Jones, Jul 6, 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.