Skip to content

Commit

Permalink
worktree.c: fix indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Jan 19, 2016
1 parent a46dcfb commit d4cddd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions worktree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d4cddd6

Please sign in to comment.