From 80bdaba894b9868a74fa5931e3ce1ca074353b24 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 12 Jan 2024 12:19:10 -0500 Subject: messages: mark some strings with "up-to-date" not to touch The treewide clean-up of "up-to-date" strings done in 7560f547 (treewide: correct several "up-to-date" to "up to date", 2017-08-23) deliberately left some out, but unlike the lines that were changed by the commit, the lines that were deliberately left untouched by the commit is impossible to ask "git blame" to link back to the commit that did not touch them. Let's do the second best thing, leave a short comment near them explaining why those strings should not be modified or localized. Signed-off-by: Junio C Hamano [es: make in-code comment more developer-friendly] Signed-off-by: Eric Sunshine Signed-off-by: Junio C Hamano --- builtin/send-pack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin/send-pack.c') diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 64962be016..7a750b18a7 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -338,6 +338,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix) } if (!ret && !transport_refs_pushed(remote_refs)) + /* stable plumbing output; do not modify or localize */ fprintf(stderr, "Everything up-to-date\n"); return ret; -- cgit 1.2.3-korg