diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-01-26 17:54:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-01-26 17:54:45 +0100 |
commit | 951eafe36fcb1c14851e6b51302cc0bad51fc046 (patch) | |
tree | 8983103f21044f24dc20e1a2bfa0750604480f6c /http-push.c | |
parent | The ninth batch (diff) | |
parent | messages: mark some strings with "up-to-date" not to touch (diff) | |
download | git-951eafe36fcb1c14851e6b51302cc0bad51fc046.tar.xz git-951eafe36fcb1c14851e6b51302cc0bad51fc046.zip |
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.c | 2 |
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 " |