sequencer: move "else" keyword onto the same line as preceding brace

It is the current coding style of the Git project to write

	if (...) {
		...
	} else {
		...
	}

instead of putting the closing brace and the "else" keyword on separate
lines.

Pointed out by Junio Hamano.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Johannes Schindelin 2017-01-02 16:26:14 +01:00 коммит произвёл Junio C Hamano
Родитель 637666c822
Коммит a70d8f8067
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -1070,8 +1070,7 @@ static int create_seq_dir(void)
error(_("a cherry-pick or revert is already in progress")); error(_("a cherry-pick or revert is already in progress"));
advise(_("try \"git cherry-pick (--continue | --quit | --abort)\"")); advise(_("try \"git cherry-pick (--continue | --quit | --abort)\""));
return -1; return -1;
} } else if (mkdir(git_path_seq_dir(), 0777) < 0)
else if (mkdir(git_path_seq_dir(), 0777) < 0)
return error_errno(_("could not create sequencer directory '%s'"), return error_errno(_("could not create sequencer directory '%s'"),
git_path_seq_dir()); git_path_seq_dir());
return 0; return 0;