aboutsummaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2009-09-01 01:35:10 -0400
committerJunio C Hamano <gitster@pobox.com>2009-08-31 23:26:28 -0700
commiteeefa7c90e1b754a2b01d73fd93aaf90afdc4914 (patch)
treefa561a4acef6f4c1cb8bd0b75a194e3644b99d3e /remote.c
parent554555ac7da0b9b78bd97cff05daa60498eb1bba (diff)
downloadgit-eeefa7c90e1b754a2b01d73fd93aaf90afdc4914.tar.gz
git-eeefa7c90e1b754a2b01d73fd93aaf90afdc4914.tar.xz
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>
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index c3ada2d72..4b5b90597 100644
--- a/remote.c
+++ b/remote.c
@@ -1038,7 +1038,7 @@ static int match_explicit(struct ref *src, struct ref *dst,
case 0:
if (!memcmp(dst_value, "refs/", 5))
matched_dst = make_linked_ref(dst_value, dst_tail);
- else if((dst_guess = guess_ref(dst_value, matched_src)))
+ else if ((dst_guess = guess_ref(dst_value, matched_src)))
matched_dst = make_linked_ref(dst_guess, dst_tail);
else
error("unable to push to unqualified destination: %s\n"