mirror of
https://github.com/git/git.git
synced 2026-02-01 13:31:58 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user