diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-12-09 10:25:21 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-10 06:41:09 (GMT) |
commit | 3b3357626edc841a51d8885ddf6986bab5b6f778 (patch) | |
tree | c28a424e00c4fc8ca7656be02e2951396d91f9ad /diff.c | |
parent | 5d826e972970a784bd7a7bdf587512510097b8c7 (diff) | |
download | git-3b3357626edc841a51d8885ddf6986bab5b6f778.zip git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.gz git-3b3357626edc841a51d8885ddf6986bab5b6f778.tar.bz2 |
style: the opening '{' of a function is in a separate line
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 'diff.c')
-rw-r--r-- | diff.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1637,7 +1637,8 @@ static void emit_hunk_header(struct emit_callback *ecbdata, strbuf_release(&msgbuf); } -static struct diff_tempfile *claim_diff_tempfile(void) { +static struct diff_tempfile *claim_diff_tempfile(void) +{ int i; for (i = 0; i < ARRAY_SIZE(diff_temp); i++) if (!diff_temp[i].name) @@ -4819,7 +4820,8 @@ static int parse_diff_filter_opt(const char *optarg, struct diff_options *opt) return 0; } -static void enable_patch_output(int *fmt) { +static void enable_patch_output(int *fmt) +{ *fmt &= ~DIFF_FORMAT_NO_OUTPUT; *fmt |= DIFF_FORMAT_PATCH; } |