diff options
author | Martin von Zweigbergk <martinvonz@gmail.com> | 2013-01-16 22:00:35 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-17 00:50:23 +0400 |
commit | bf44142f5464e913d99f9544787e59fc630f6cc9 (patch) | |
tree | 867749476b1de07664708018e464b50850907b95 /builtin | |
parent | 3fde386a40f38dbaa684c17603e71909b862d021 (diff) |
reset: update documentation to require only tree-ish with paths
When resetting with paths, we no longer require a commit argument, but
only a tree-ish. Update the documentation and synopsis accordingly.
Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/reset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/reset.c b/builtin/reset.c index 921afbe62e..6032131a90 100644 --- a/builtin/reset.c +++ b/builtin/reset.c @@ -23,8 +23,8 @@ static const char * const git_reset_usage[] = { N_("git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]"), - N_("git reset [-q] <commit> [--] <paths>..."), - N_("git reset --patch [<commit>] [--] [<paths>...]"), + N_("git reset [-q] <tree-ish> [--] <paths>..."), + N_("git reset --patch [<tree-ish>] [--] [<paths>...]"), NULL }; |