threads / patch / 36151

patchconnect.c: SP after "}", not TAB

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

## tl;dr

2 messages between Mar 13, 2014 and Mar 13, 2014. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Nguyễn Thái Ngọc Duy· Mar 13, 2014, 11:45 UTC · lore
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(-)
Show changes to connect.c +1 −1
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

← back to recent threads