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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Jan 2, 2017 at 16:26 UTC
637666c82258a2a11424791ad83b3a43cae101a4
1 file changed
+1
-2
sequencer.c
+1
-2
@@ -632,9 +632,8 @@ static int do_pick_commit(enum todo_command command, struct commit *commit,
632
}
633
discard_cache();
634
635
- if (!commit->parents) {
635
+ if (!commit->parents)
636
parent = NULL;
637
- }
637
else if (commit->parents->next) {
638
/* Reverting or cherry-picking a merge commit */
639
int cnt;