summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2009-09-01 05:35:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-09-01 06:26:28 (GMT)
commiteeefa7c90e1b754a2b01d73fd93aaf90afdc4914 (patch)
treefa561a4acef6f4c1cb8bd0b75a194e3644b99d3e /diff.c
parent554555ac7da0b9b78bd97cff05daa60498eb1bba (diff)
downloadgit-eeefa7c90e1b754a2b01d73fd93aaf90afdc4914.zip
git-eeefa7c90e1b754a2b01d73fd93aaf90afdc4914.tar.gz
git-eeefa7c90e1b754a2b01d73fd93aaf90afdc4914.tar.bz2
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 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index cd35e0c..e1be189 100644
--- a/diff.c
+++ b/diff.c
@@ -2691,7 +2691,7 @@ static int parse_num(const char **cp_p)
num = 0;
scale = 1;
dot = 0;
- for(;;) {
+ for (;;) {
ch = *cp;
if ( !dot && ch == '.' ) {
scale = 1;