@matheusbsbs / matheus-bagliano / commits / 3c5283f8b1
Fork 0

builtin-commit.c: Remove a redundant assignment.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Sixt committed Apr 10, 2008 at 13:33 UTC 3c5283f8b19aaba3a6105fa486cabe4d0ca48009
1 file changed +1 -3
builtin-commit.c
+1 -3
@@ -745,10 +745,8 @@ static int parse_and_validate_options(int argc, const char *argv[],
745 die("No paths with --include/--only does not make sense.");
746 if (argc == 0 && only && amend)
747 only_include_assumed = "Clever... amending the last one with dirty index.";
748 - if (argc > 0 && !also && !only) {
748 + if (argc > 0 && !also && !only)
749 only_include_assumed = "Explicit paths specified without -i nor -o; assuming --only paths...";
750 - also = 0;
751 - }
750 if (!cleanup_arg || !strcmp(cleanup_arg, "default"))
751 cleanup_mode = use_editor ? CLEANUP_ALL : CLEANUP_SPACE;
752 else if (!strcmp(cleanup_arg, "verbatim"))