Style fixes, add a space after if/for/while.

The majority of code in core git appears to use a single
space after if/for/while. This is an attempt to bring more
code to this standard. These are entirely cosmetic changes.

Signed-off-by: Brian Gianforcaro <b.gianfo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Brian Gianforcaro
2009-09-01 01:35:10 -04:00
committed by Junio C Hamano
parent 554555ac7d
commit eeefa7c90e
13 changed files with 28 additions and 30 deletions

View File

@ -513,7 +513,7 @@ struct child_process *git_connect(int fd[2], const char *url_orig,
signal(SIGCHLD, SIG_DFL);
host = strstr(url, "://");
if(host) {
if (host) {
*host = '\0';
protocol = get_protocol(url);
host += 3;