summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-01-18 18:21:29 +0700
committerJunio C Hamano <gitster@pobox.com>2016-01-19 11:22:29 -0800
commitd4cddd66d7ab620fe449ab01382b27178c908c10 (patch)
tree744710116ca7e389addbb46dd7acab26437d955f
parenta46dcfb8403191ce042ad123a3314a174fa9ca4c (diff)
downloadgit-d4cddd66d7ab620fe449ab01382b27178c908c10.tar.gz
worktree.c: fix indentation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--worktree.c8
1 files changed, 4 insertions, 4 deletions
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);
}