summaryrefslogtreecommitdiffstats
path: root/transport.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-12 18:19:10 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-12 19:20:01 +0100
commit80bdaba894b9868a74fa5931e3ce1ca074353b24 (patch)
tree955625c31e5af8bfac1c9f44c9f2ebff252a65fc /transport.c
parentGit 2.38.5 (diff)
downloadgit-80bdaba894b9868a74fa5931e3ce1ca074353b24.tar.xz
git-80bdaba894b9868a74fa5931e3ce1ca074353b24.zip
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 <gitster@pobox.com> [es: make in-code comment more developer-friendly] Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index 70e9c188a3..f5d5c22812 100644
--- a/transport.c
+++ b/transport.c
@@ -1419,6 +1419,7 @@ int transport_push(struct repository *r,
if (porcelain && !push_ret)
puts("Done");
else if (!quiet && !ret && !transport_refs_pushed(remote_refs))
+ /* stable plumbing output; do not modify or localize */
fprintf(stderr, "Everything up-to-date\n");
done: