X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin%2Freset.c;h=0037be4693bbd875e644df13ce4a9fae31e7378c;hb=385cc9d8c44eb5be9d57e630129752a72c0a08c8;hp=1283068fd24c371e39f0271d01dd6b3aac437d4b;hpb=061219fa7cf1063ac7f0dace55e8d175c7a91879;p=git.git 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 -- ' instead."); else if (reset_type != NONE) die("Cannot do %s reset with paths.", reset_type_names[reset_type]);