aboutsummaryrefslogtreecommitdiffstats
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-26 08:54:45 -0800
committerJunio C Hamano <gitster@pobox.com>2024-01-26 08:54:45 -0800
commit951eafe36fcb1c14851e6b51302cc0bad51fc046 (patch)
tree8983103f21044f24dc20e1a2bfa0750604480f6c /http-push.c
parente02ecfcc534e2021aae29077a958dd11c3897e4c (diff)
parent80bdaba894b9868a74fa5931e3ce1ca074353b24 (diff)
downloadgit-951eafe36fcb1c14851e6b51302cc0bad51fc046.tar.gz
Merge branch 'es/some-up-to-date-messages-must-stay'
Comment updates to help developers not to attempt to modify messages from plumbing commands that must stay constant. It might make sense to reassess the plumbing needs every few years, but that should be done as a separate effort. * es/some-up-to-date-messages-must-stay: messages: mark some strings with "up-to-date" not to touch
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http-push.c b/http-push.c
index b4d0b2a6aa..12d1113741 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1851,6 +1851,7 @@ int cmd_main(int argc, const char **argv)
if (oideq(&ref->old_oid, &ref->peer_ref->new_oid)) {
if (push_verbosely)
+ /* stable plumbing output; do not modify or localize */
fprintf(stderr, "'%s': up-to-date\n", ref->name);
if (helper_status)
printf("ok %s up to date\n", ref->name);
@@ -1871,6 +1872,7 @@ int cmd_main(int argc, const char **argv)
* commits at the remote end and likely
* we were not up to date to begin with.
*/
+ /* stable plumbing output; do not modify or localize */
error("remote '%s' is not an ancestor of\n"
"local '%s'.\n"
"Maybe you are not up-to-date and "