Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sequencer: avoid unnecessary curly braces
[gitweb.git]
/
sequencer.c
diff --git
a/sequencer.c
b/sequencer.c
index 9adb7bbf1d4815d9e4f67b66e90c9ec327b2fb72..23793db08b674d966b69b68e1f4c431cdcda4c2d 100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-632,9
+632,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;