Commit e313c768 authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'nd/commit-a-with-paths-msg-update'

The message given when "git commit -a <paths>" errors out has been

* nd/commit-a-with-paths-msg-update:
  commit: improve error message in "-a <paths>" case
parents 776f3e1f 5a1dbd48
......@@ -1194,7 +1194,8 @@ static int parse_and_validate_options(int argc, const char *argv[],
if (all && argc > 0)
die(_("Paths with -a does not make sense."));
die(_("paths '%s ...' with -a does not make sense"),
if (status_format != STATUS_FORMAT_NONE)
dry_run = 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment