summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 696b1b5)
raw | patch | inline | side by side (parent: 696b1b5)
author | Nicolas Pitre <nico@cam.org> | |
Sun, 14 Jan 2007 02:23:55 +0000 (21:23 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 14 Jan 2007 02:48:10 +0000 (18:48 -0800) |
Suggesting the use of [-a|-i|-o] with git-commit is unnecessarily
complex and confusing. In this context -o is totally useless and -i
requires extra arguments which are not mentioned. The only sensible
hint (besides reading the man page but let's not go there) is
"commit -a".
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
complex and confusing. In this context -o is totally useless and -i
requires extra arguments which are not mentioned. The only sensible
hint (besides reading the man page but let's not go there) is
"commit -a".
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
wt-status.c | patch | blob | history |
diff --git a/wt-status.c b/wt-status.c
index daba9a6105882c671edd7da21f0a9ae34fbdaaa4..b7250e43100244abcdaa5bc923574aad7f815d0b 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
if (s->amend)
printf("# No changes\n");
else if (s->workdir_dirty)
- printf("no changes added to commit (use \"git add\" and/or \"git commit [-a|-i|-o]\")\n");
+ printf("no changes added to commit (use \"git add\" and/or \"git commit -a\")\n");
else if (s->workdir_untracked)
printf("nothing added to commit but untracked files present (use \"git add\" to track)\n");
else if (s->is_initial)