summaryrefslogtreecommitdiff
path: root/builtin-for-each-ref.c
diff options
context:
space:
mode:
authorMichele Ballabio <barra_cuda@katamail.com>2008-02-25 00:16:04 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-24 18:34:34 -0800
commit8e0fbe671f6a63b885702917bf4e7d7a85c59ab4 (patch)
treeb10bd175fdc017ecfa9b18118e454b1810002a9b /builtin-for-each-ref.c
parent8a8bf4690e20a545561249a9b393c1ef3239c03d (diff)
downloadgit-8e0fbe671f6a63b885702917bf4e7d7a85c59ab4.tar.gz
builtin-for-each-ref.c: fix typo in error message
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-for-each-ref.c')
-rw-r--r--builtin-for-each-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c
index f36a43c264..07d9c57212 100644
--- a/builtin-for-each-ref.c
+++ b/builtin-for-each-ref.c
@@ -165,7 +165,7 @@ static int verify_format(const char *format)
for (cp = format; *cp && (sp = find_next(cp)); ) {
const char *ep = strchr(sp, ')');
if (!ep)
- return error("malformatted format string %s", sp);
+ return error("malformed format string %s", sp);
/* sp points at "%(" and ep points at the closing ")" */
parse_atom(sp + 2, ep);
cp = ep + 1;