sequencer: avoid unnecessary curly braces

This was noticed while addressing Junio Hamano's concern that some
"else" operators were on separate lines than the preceding closing
brace.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2016-12-19 14:50:30 +01:00
parent 5c76d3ceb2
commit 185c214c07

View File

@@ -679,9 +679,8 @@ static int do_pick_commit(enum todo_command command, struct commit *commit,
}
discard_cache();
if (!commit->parents) {
if (!commit->parents)
parent = NULL;
}
else if (commit->parents->next) {
/* Reverting or cherry-picking a merge commit */
int cnt;