@@ -660,17 +660,21 @@ int cmd_rev_list(int argc,
660660 *
661661 * Let "--missing" to conditionally set fetch_if_missing.
662662 */
663+
663664 /*
664- * NEEDSWORK: These loops that attempt to find presence of
665- * options without understanding that the options they are
666- * skipping are broken (e.g., it would not know "--grep
665+ * NEEDSWORK: The next loop is utterly broken. It tries to
666+ * notice an option is used, but without understanding if each
667+ * option takes an argument, which fundamentally would not
668+ * work. It would not know "--grep
667669 * --exclude-promisor-objects" is not triggering
668- * "--exclude-promisor-objects" option). We really need
669- * setup_revisions() to have a mechanism to allow and disallow
670- * some sets of options for different commands (like rev-list,
671- * replay, etc). Such a mechanism should do an early parsing
672- * of options and be able to manage the `--missing=...` and
673- * `--exclude-promisor-objects` options below.
670+ * "--exclude-promisor-objects" option, for example.
671+ *
672+ * We really need setup_revisions() to have a mechanism to
673+ * allow and disallow some sets of options for different
674+ * commands (like rev-list, replay, etc). Such a mechanism
675+ * should do an early parsing of options and be able to manage
676+ * the `--missing=...` and `--exclude-promisor-objects`
677+ * options below.
674678 */
675679 for (i = 1 ; i < argc ; i ++ ) {
676680 const char * arg = argv [i ];
0 commit comments