diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-31 09:39:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-31 09:39:19 -0700 |
commit | 7e44c93558e7c0b12624d76cf07753d0480ed96a (patch) | |
tree | ac00b198b7cb03e57d8a0e19f550235983f5e52e /builtin-checkout-index.c | |
parent | 34baebcee1d66be4cc096a69ba448cd24dcedf21 (diff) | |
download | git-7e44c93558e7c0b12624d76cf07753d0480ed96a.tar.gz git-7e44c93558e7c0b12624d76cf07753d0480ed96a.tar.xz |
'git foo' program identifies itself without dash in die() messages
This is a mechanical conversion of all '*.c' files with:
s/((?:die|error|warning)\("git)-(\S+:)/$1 $2/;
The result was manually inspected and no false positive was found.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-checkout-index.c')
-rw-r--r-- | builtin-checkout-index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c index 71ebabf99..90f8523eb 100644 --- a/builtin-checkout-index.c +++ b/builtin-checkout-index.c @@ -258,9 +258,9 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix) const char *p; if (all) - die("git-checkout-index: don't mix '--all' and explicit filenames"); + die("git checkout-index: don't mix '--all' and explicit filenames"); if (read_from_stdin) - die("git-checkout-index: don't mix '--stdin' and explicit filenames"); + die("git checkout-index: don't mix '--stdin' and explicit filenames"); p = prefix_path(prefix, prefix_length, arg); checkout_file(p, prefix_length); if (p < arg || p > arg + strlen(arg)) @@ -271,7 +271,7 @@ int cmd_checkout_index(int argc, const char **argv, const char *prefix) struct strbuf buf, nbuf; if (all) - die("git-checkout-index: don't mix '--all' and '--stdin'"); + die("git checkout-index: don't mix '--all' and '--stdin'"); strbuf_init(&buf, 0); strbuf_init(&nbuf, 0); |