threads / patch / 40188

patchreflog: add missing single quote to error message

Subject: [PATCH] reflog: add missing single quote to error message

## tl;dr

One message between Aug 27, 2015 and Aug 27, 2015. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alex Henrie· Aug 27, 2015, 04:26 UTC · lore

The error message can be seen by running `git config gc.reflogexpire foo` and then `git reflog expire`.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/reflog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/reflog.c +1 −1
diff --git a/builtin/reflog.c b/builtin/reflog.c
index 7ed0e85..f96ca2a 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -429,7 +429,7 @@ static int parse_expire_cfg_value(const char *var, const char *value, unsigned l
 	if (!value)
 		return config_error_nonbool(var);
 	if (parse_expiry_date(value, expire))
-		return error(_("%s' for '%s' is not a valid timestamp"),
+		return error(_("'%s' for '%s' is not a valid timestamp"),
 			     value, var);
 	return 0;
 }
-- 
2.5.0

← back to recent threads