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

[PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jan 5, 2015, 13:29 UTC
Message-ID
<1420464563-5579-1-git-send-email-pclouds@gmail.com>
From: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 This is in the SQUASH??? commit on nd/untracked-cache on 'pu', but it
 fixes a commit older than that series.
 builtin/clean.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/clean.c b/builtin/clean.c
index 1032563..3beeea6 100644
--- a/builtin/clean.c
+++ b/builtin/clean.c
@@ -67,7 +67,7 @@ struct menu_item {
 	char hotkey;
 	const char *title;
 	int selected;
-	int (*fn)();
+	int (*fn)(void);
 };
 
 enum menu_stuff_type {
-- 
2.2.0.84.ge9c7a8a
Next: Junio C Hamano
Message 1 of 3 in “clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)”
  1. clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)Nguyễn Thái Ngọc Duy, Jan 5, 2015
  2. Junio C HamanoJan 6, 2015
  3. Duy NguyenJan 7, 2015

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.