diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2017-12-27 11:18:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 21:38:35 +0100 |
commit | 98bc94ec79c789a70fe0b41bdc91b24ab8483063 (patch) | |
tree | 3ab4dc9d6fe44cbae7604b7272500bd0e86579a2 /wt-status.c | |
parent | Use DIFF_DETECT_RENAME for detect_rename assignments (diff) | |
download | git-98bc94ec79c789a70fe0b41bdc91b24ab8483063.tar.xz git-98bc94ec79c789a70fe0b41bdc91b24ab8483063.zip |
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>
Diffstat (limited to 'wt-status.c')
-rw-r--r-- | wt-status.c | 3 |
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) |