From eeefa7c90e1b754a2b01d73fd93aaf90afdc4914 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Tue, 1 Sep 2009 01:35:10 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- builtin-shortlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin-shortlog.c') diff --git a/builtin-shortlog.c b/builtin-shortlog.c index 6a3812ee1..4d4a3c82d 100644 --- a/builtin-shortlog.c +++ b/builtin-shortlog.c @@ -56,7 +56,7 @@ static void insert_one_record(struct shortlog *log, /* copy author name to namebuf, to support matching on both name and email */ memcpy(namebuf, author, boemail - author); len = boemail - author; - while(len > 0 && isspace(namebuf[len-1])) + while (len > 0 && isspace(namebuf[len-1])) len--; namebuf[len] = 0; -- cgit v1.2.1