summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09f53b1)
raw | patch | inline | side by side (parent: 09f53b1)
author | Jan Stępień <jstepien@users.sourceforge.net> | |
Wed, 31 Mar 2010 09:24:19 +0000 (11:24 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 31 Mar 2010 15:15:02 +0000 (08:15 -0700) |
Make git reset usage string reflect the command's behaviour and contents of
the man page.
Signed-off-by: Jan Stępień <jstepien@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the man page.
Signed-off-by: Jan Stępień <jstepien@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-reset.c | patch | blob | history |
diff --git a/builtin-reset.c b/builtin-reset.c
index 0f5022eed24f980f6fedee49f8602fefa6fe85e4..a174a316102c6ed40b4cef24d7812220f6ac5d89 100644 (file)
--- a/builtin-reset.c
+++ b/builtin-reset.c
static const char * const git_reset_usage[] = {
"git reset [--mixed | --soft | --hard | --merge] [-q] [<commit>]",
- "git reset [--mixed] <commit> [--] <paths>...",
+ "git reset [-q] <commit> [--] <paths>...",
+ "git reset --patch [<commit>] [--] [<paths>...]",
NULL
};