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

[PATCH 3/3] Style nit - don't put space after function names

From
Shawn O. Pearce <spearce@spearce.org>
Date
May 30, 2007, 06:13 UTC
Message-ID
<20070530061342.GC12738@spearce.org>

Our style is to not put a space after a function name. I did here, and Junio applied the patch with the incorrect formatting. So I'm cleaning up after myself since I noticed it upon review.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 sha1_file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index a3637d7..3093ac9 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -531,7 +531,7 @@ static int check_packed_git_idx(const char *path,  struct packed_git *p)
 	return 0;
 }
 
-int open_pack_index (struct packed_git *p)
+int open_pack_index(struct packed_git *p)
 {
 	char *idx_name;
 	int ret;
-- 
1.5.2.869.g6b3ba
Message 1 of 1 in “Style nit - don't put space after function names”
  1. 3/3 Style nit - don't put space after function namesShawn O. Pearce, May 30, 2007

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.