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:
committed by
Junio C Hamano
parent
554555ac7d
commit
eeefa7c90e
2
remote.c
2
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"
|
||||
|
||||
Reference in New Issue
Block a user