projects
/
git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46dcfb
)
worktree.c: fix indentation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 18 Jan 2016 11:21:29 +0000
(18:21 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Jan 2016 19:22:29 +0000
(11:22 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
worktree.c
patch
|
blob
|
history
diff --git
a/worktree.c
b/worktree.c
index 981f810e80008d878d6a5af1331c89dc093c5927..6181a66f1ee2e1e45d7d8b2c88d312746473661f 100644
(file)
--- 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);
}