aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-31 16:24:36 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-31 16:24:36 -0700
commit0c1c798f20bb9956312247e091b23ba2e7baf7b4 (patch)
tree12b43d46354884c0178f6be69f774ccbaff12d09 /builtin
parent381b2e76985de1c3670ec3c1938fef679c6eef17 (diff)
parenta4941a81c8a67abad2000b044ecad71ceff9d695 (diff)
downloadgit-0c1c798f20bb9956312247e091b23ba2e7baf7b4.tar.gz
git-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>"
Diffstat (limited to 'builtin')
-rw-r--r--builtin/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/reset.c b/builtin/reset.c
index 1283068fd..0037be469 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]);