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

[PATCH] connect.c: SP after "}", not TAB

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Mar 13, 2014, 11:45 UTC
Message-ID
<1394711131-14703-1-git-send-email-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 I missed the "else" anchor because it's indented far to the right and
 misread the code for a second there. Might as well fix it while I'm
 at it.
 connect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/connect.c b/connect.c
index 4cb1c7c..4be84e8 100644
--- a/connect.c
+++ b/connect.c
@@ -727,7 +727,7 @@ struct child_process *git_connect(int fd[2], const char *url,
 				*arg++ = port;
 			}
 			*arg++ = ssh_host;
-		}	else {
+		} else {
 			/* remove repo-local variables from the environment */
 			conn->env = local_repo_env;
 			conn->use_shell = 1;
-- 
1.9.0.40.gaa8c3ea
Next: Junio C Hamano
Message 1 of 2 in “connect.c: SP after "}", not TAB”
  1. connect.c: SP after "}", not TABNguyễn Thái Ngọc Duy, Mar 13, 2014
  2. Junio C HamanoMar 13, 2014

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.