summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-12-09 10:25:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-10 06:41:09 (GMT)
commit3b3357626edc841a51d8885ddf6986bab5b6f778 (patch)
treec28a424e00c4fc8ca7656be02e2951396d91f9ad /sequencer.c
parent5d826e972970a784bd7a7bdf587512510097b8c7 (diff)
downloadgit-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 'sequencer.c')
-rw-r--r--sequencer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sequencer.c b/sequencer.c
index e1a4dd1..55b609a 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -1670,7 +1670,8 @@ static int update_squash_messages(enum todo_command command,
return res;
}
-static void flush_rewritten_pending(void) {
+static void flush_rewritten_pending(void)
+{
struct strbuf buf = STRBUF_INIT;
struct object_id newoid;
FILE *out;
@@ -1695,7 +1696,8 @@ static void flush_rewritten_pending(void) {
}
static void record_in_rewritten(struct object_id *oid,
- enum todo_command next_command) {
+ enum todo_command next_command)
+{
FILE *out = fopen_or_warn(rebase_path_rewritten_pending(), "a");
if (!out)