summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-12-27 17:18:36 +0700
committerJunio C Hamano <gitster@pobox.com>2017-12-27 12:38:35 -0800
commit98bc94ec79c789a70fe0b41bdc91b24ab8483063 (patch)
tree3ab4dc9d6fe44cbae7604b7272500bd0e86579a2
parent06dba2b0235293e84157a59fa22dc89baa336166 (diff)
downloadgit-98bc94ec79c789a70fe0b41bdc91b24ab8483063.tar.gz
wt-status.c: coding style fix
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--wt-status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wt-status.c b/wt-status.c
index 7491c3adeb..181d253605 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -407,7 +407,8 @@ static void wt_longstatus_print_change_data(struct wt_status *s,
strbuf_release(&twobuf);
}
-static char short_submodule_status(struct wt_status_change_data *d) {
+static char short_submodule_status(struct wt_status_change_data *d)
+{
if (d->new_submodule_commits)
return 'M';
if (d->dirty_submodule & DIRTY_SUBMODULE_MODIFIED)