summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Ballabio <barra_cuda@katamail.com>2008-02-24 23:16:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-25 02:34:34 (GMT)
commit8e0fbe671f6a63b885702917bf4e7d7a85c59ab4 (patch)
treeb10bd175fdc017ecfa9b18118e454b1810002a9b
parent8a8bf4690e20a545561249a9b393c1ef3239c03d (diff)
downloadgit-8e0fbe671f6a63b885702917bf4e7d7a85c59ab4.zip
git-8e0fbe671f6a63b885702917bf4e7d7a85c59ab4.tar.gz
git-8e0fbe671f6a63b885702917bf4e7d7a85c59ab4.tar.bz2
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>
-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 f36a43c..07d9c57 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;