threads / patch / 8361

patch, 3 partsStyle nit - don't put space after function names

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

## tl;dr

One message between May 30, 2007 and May 30, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn O. Pearce· May 30, 2007, 06:13 UTC · lore

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(-)
Show changes to sha1_file.c +1 −1
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

← back to recent threads