Merge branch 'rs/resolve-ref-optional-result'
[gitweb.git] / builtin / submodule--helper.c
index ea49710893a1194691c43450657abc9b74eebaf9..06ed02f99402be6a7edb36ff0eb08b903c513c6c 100644 (file)
@@ -1187,6 +1187,7 @@ static int push_check(int argc, const char **argv, const char *prefix)
                                                break;
                                        die("HEAD does not match the named branch in the superproject");
                                }
+                               /* fallthrough */
                        default:
                                die("src refspec '%s' must name a ref",
                                    rs->src);