Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes: > + if (!prefixcmp(start, "pick ")) { > + action = CHERRY_PICK; > + insn_len = strlen("pick"); > + p = start + insn_len + 1; > + } > + else if (!prefixcmp(start, "revert ")) { > + action = REVERT; > + insn_len = strlen("revert"); > + p = start + insn_len + 1; > + } > + else > + return NULL; (style) if (...) { ... } else if (...) { ... } else { ... } -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html