Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
reset: fix usage
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Tue, 11 Oct 2016 16:09:03 +0000
(18:09 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Oct 2016 19:27:39 +0000
(12:27 -0700)
The <tree-ish> parameter is actually optional (see man page).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reset.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0b65a8d
)
diff --git
a/builtin/reset.c
b/builtin/reset.c
index 092c3a5399c731e83058233f8e3e459be493e140..fdf47285c17ba2602fa5452bbfae029f09a81d52 100644
(file)
--- a/
builtin/reset.c
+++ b/
builtin/reset.c
@@
-24,7
+24,7
@@
static const char * const git_reset_usage[] = {
N_("git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]"),
- N_("git reset [-q]
<tree-ish>
[--] <paths>..."),
+ N_("git reset [-q]
[<tree-ish>]
[--] <paths>..."),
N_("git reset --patch [<tree-ish>] [--] [<paths>...]"),
NULL
};