summaryrefslogtreecommitdiff
path: root/builtin-commit-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-31 09:39:19 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-31 09:39:19 -0700
commit7e44c93558e7c0b12624d76cf07753d0480ed96a (patch)
treeac00b198b7cb03e57d8a0e19f550235983f5e52e /builtin-commit-tree.c
parent34baebcee1d66be4cc096a69ba448cd24dcedf21 (diff)
downloadgit-7e44c93558e7c0b12624d76cf07753d0480ed96a.tar.gz
'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-commit-tree.c')
-rw-r--r--builtin-commit-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit-tree.c b/builtin-commit-tree.c
index 7a9a309be0..291c43cf70 100644
--- a/builtin-commit-tree.c
+++ b/builtin-commit-tree.c
@@ -118,7 +118,7 @@ int cmd_commit_tree(int argc, const char **argv, const char *prefix)
}
if (strbuf_read(&buffer, 0, 0) < 0)
- die("git-commit-tree: read returned %s", strerror(errno));
+ die("git commit-tree: read returned %s", strerror(errno));
if (!commit_tree(buffer.buf, tree_sha1, parents, commit_sha1)) {
printf("%s\n", sha1_to_hex(commit_sha1));