diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-10-07 16:27:55 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-07 16:27:56 +0900 |
commit | 2a5aa826eec2eec64b4065f599ee7fb613a871ba (patch) | |
tree | e0d0b23ccbef143358d5135a78d7f483fdba4579 | |
parent | 932b573406fda922d8edbecb0d7f9ad3ce9155ec (diff) | |
parent | 33f3c683ecfb702c4cef85383f779ca93c4fc44c (diff) | |
download | git-2a5aa826eec2eec64b4065f599ee7fb613a871ba.tar.gz |
Merge branch 'ks/verify-filename-non-option-error-message-tweak'
Error message tweak.
* ks/verify-filename-non-option-error-message-tweak:
setup: update error message to be more meaningful
-rw-r--r-- | setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ void verify_filename(const char *prefix, int diagnose_misspelt_rev) { if (*arg == '-') - die("bad flag '%s' used after filename", arg); + die("option '%s' must come before non-option arguments", arg); if (looks_like_pathspec(arg) || check_filename(prefix, arg)) return; die_verify_filename(prefix, arg, diagnose_misspelt_rev); |