threads / patch / 12306

patchbuiltin-for-each-ref.c: fix typo in error message

Subject: [PATCH] builtin-for-each-ref.c: fix typo in error message

## tl;dr

One message between Feb 24, 2008 and Feb 24, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Michele Ballabio· Feb 24, 2008, 23:16 UTC · lore
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
---
 builtin-for-each-ref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to builtin-for-each-ref.c +1 −1
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;
-- 
1.5.4.2

← back to recent threads