summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7134973)
raw | patch | inline | side by side (parent: 7134973)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Thu, 10 Apr 2008 11:33:08 +0000 (13:33 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Apr 2008 06:03:50 +0000 (23:03 -0700) |
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | patch | blob | history |
diff --git a/builtin-commit.c b/builtin-commit.c
index 660a3458f7f4ef24dfa4fd5bdf902174da1eefb4..e3adfdf6d4959d0f7ef96517c03f34039416fe52 100644 (file)
--- a/builtin-commit.c
+++ b/builtin-commit.c
die("No paths with --include/--only does not make sense.");
if (argc == 0 && only && amend)
only_include_assumed = "Clever... amending the last one with dirty index.";
- if (argc > 0 && !also && !only) {
+ if (argc > 0 && !also && !only)
only_include_assumed = "Explicit paths specified without -i nor -o; assuming --only paths...";
- also = 0;
- }
if (!cleanup_arg || !strcmp(cleanup_arg, "default"))
cleanup_mode = use_editor ? CLEANUP_ALL : CLEANUP_SPACE;
else if (!strcmp(cleanup_arg, "verbatim"))