diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-31 16:24:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-31 16:24:36 -0700 |
commit | 0c1c798f20bb9956312247e091b23ba2e7baf7b4 (patch) | |
tree | 12b43d46354884c0178f6be69f774ccbaff12d09 | |
parent | Merge branch 'dj/fetch-tagopt' (diff) | |
parent | reset: suggest what to do upon "git reset --mixed <paths>" (diff) | |
download | tgif-0c1c798f20bb9956312247e091b23ba2e7baf7b4.tar.xz |
Merge branch 'ab/maint-reset-mixed-w-pathspec-advice'
* ab/maint-reset-mixed-w-pathspec-advice:
reset: suggest what to do upon "git reset --mixed <paths>"
-rw-r--r-- | builtin/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reset.c b/builtin/reset.c index 1283068fd2..0037be4693 100644 --- a/builtin/reset.c +++ b/builtin/reset.c @@ -318,7 +318,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix) * affecting the working tree nor HEAD. */ if (i < argc) { if (reset_type == MIXED) - warning("--mixed option is deprecated with paths."); + warning("--mixed with paths is deprecated; use 'git reset -- <paths>' instead."); else if (reset_type != NONE) die("Cannot do %s reset with paths.", reset_type_names[reset_type]); |