From: Nguyễn Thái Ngọc Duy Date: Mon, 18 Jan 2016 11:21:29 +0000 (+0700) Subject: worktree.c: fix indentation X-Git-Tag: v2.7.2~9^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4cddd66d7ab620fe449ab01382b27178c908c10;p=thirdparty%2Fgit.git worktree.c: fix indentation Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/worktree.c b/worktree.c index 981f810e80..6181a66f1e 100644 --- a/worktree.c +++ b/worktree.c @@ -176,10 +176,10 @@ struct worktree **get_worktrees(void) if (!strcmp(d->d_name, ".") || !strcmp(d->d_name, "..")) continue; - if ((linked = get_linked_worktree(d->d_name))) { - ALLOC_GROW(list, counter + 1, alloc); - list[counter++] = linked; - } + if ((linked = get_linked_worktree(d->d_name))) { + ALLOC_GROW(list, counter + 1, alloc); + list[counter++] = linked; + } } closedir(dir); }