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

Re: [RFC PATCH v5 0/3] git-remote-fd & git-remote-ext

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 8, 2010, 19:56 UTC
Message-ID
<7vtykwv4os.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1286563200-7270-1-git-send-email-ilari.liusvaara@elisanet.fi>

Every time I queued this series, I've been fixing up styles without complaining. It is boring and in general not very fun to spend time fixing style violations, and the worst part of the story is that by the time I am done, I don't have time left for addressing issues in the substance of the patch or energy and concentration required for handling patches from other people.

I think I probably should have complained earlier. I am assuming that you are rewriting and rebasing, so once they are fixed at your end, I will hopefully have to re-fix everything over and over again in the future round.

Could you fix these up at your end please?
ERROR: space required before the open parenthesis '('
#216: FILE: transport-helper.c:990:
+	while(t->state != SSTATE_FINISHED) {
ERROR: "foo* bar" should be "foo *bar"
#596: FILE: builtin/remote-fd.c:58:
+	char* end;
ERROR: spaces required around that '!=' (ctx:WxV)
#603: FILE: builtin/remote-fd.c:65:
+	if ((end == argv[2]) || (*end != ',' && *end !='/' && *end))
 	                                             ^
ERROR: "foo* bar" should be "foo *bar"
#609: FILE: builtin/remote-fd.c:71:
+		char* end2;
ERROR: spaces required around that '!=' (ctx:WxV)
#612: FILE: builtin/remote-fd.c:74:
+		if ((end2 == end + 1) || (*end2 !='/' && *end2))
 		                                ^
ERROR: do not initialise globals to 0 or NULL
#897: FILE: builtin/remote-ext.c:24:
+char* git_req = NULL;
ERROR: "foo* bar" should be "foo *bar"
#897: FILE: builtin/remote-ext.c:24:
+char* git_req = NULL;
ERROR: do not initialise globals to 0 or NULL
#898: FILE: builtin/remote-ext.c:25:
+char* git_req_vhost = NULL;
ERROR: "foo* bar" should be "foo *bar"
#898: FILE: builtin/remote-ext.c:25:
+char* git_req_vhost = NULL;
ERROR: space required before the open parenthesis '('
#959: FILE: builtin/remote-ext.c:86:
+			switch(str[rpos]) {
ERROR: space required before the open parenthesis '('
#973: FILE: builtin/remote-ext.c:100:
+			switch(str[rpos]) {
ERROR: space required before the open parenthesis '('
#983: FILE: builtin/remote-ext.c:110:
+	switch(special) {
ERROR: "foo** bar" should be "foo **bar"
#1002: FILE: builtin/remote-ext.c:129:
+	char** ret;
ERROR: "foo* bar" should be "foo *bar"
#1006: FILE: builtin/remote-ext.c:133:
+		char* ret;
ERROR: "(foo*)" should be "(foo *)"
#1014: FILE: builtin/remote-ext.c:141:
+	ret = xcalloc(arguments + 1, sizeof(char*));
ERROR: "(foo**)" should be "(foo **)"
#1018: FILE: builtin/remote-ext.c:145:
+	return (const char**)ret;
ERROR: "foo* bar" should be "foo *bar"
#1026: FILE: builtin/remote-ext.c:153:
+	char* buffer;
total: 17 errors, 0 warnings, 851 lines checked
Previous: Ilari LiusvaaraNext: Pat Notz
Message 5 of 6 in “git-remote-fd & git-remote-ext”
  1. 0/3 git-remote-fd & git-remote-extIlari Liusvaara, Oct 8, 2010
  2. 1/3 Add bidirectional_transfer_loop()Ilari Liusvaara, Oct 8, 2010
  3. 2/3 git-remote-fdIlari Liusvaara, Oct 8, 2010
  4. 3/3 git-remote-extIlari Liusvaara, Oct 8, 2010
  5. Junio C HamanoOct 8, 2010
  6. Pat NotzOct 8, 2010

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.