git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Re: [gitgitgadget/git] git-merge: rewrite already up to date message (#934)
       [not found] ` <gitgitgadget/git/pull/934/c830744540@github.com>
@ 2021-05-02  5:49   ` Josh Soref
  2021-05-02  6:52     ` Eric Sunshine
  0 siblings, 1 reply; 4+ messages in thread
From: Josh Soref @ 2021-05-02  5:49 UTC (permalink / raw)
  To: gitgitgadget/git, git, Eric Sunshine

Eric Sunshine wrote:
> diff --git a/notes-merge.c b/notes-merge.c
> index d2771fa3d4..321155fc87 100644
> --- a/notes-merge.c
> +++ b/notes-merge.c
> @@ -628,7 +628,7 @@ int notes_merge(struct notes_merge_options *o,
>   if (oideq(&remote->object.oid, base_oid)) {
>   /* Already merged; result == local commit */
>   if (o->verbosity >= 2)
> - printf("Already up to date!\n");
> + printf_ln("Already up to date.");
>   oidcpy(result_oid, &local->object.oid);
>   goto found_result;
>   }

Should this have `_(...)` decorations?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gitgitgadget/git] git-merge: rewrite already up to date message (#934)
  2021-05-02  5:49   ` [gitgitgadget/git] git-merge: rewrite already up to date message (#934) Josh Soref
@ 2021-05-02  6:52     ` Eric Sunshine
  2021-05-02 23:19       ` Eric Sunshine
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sunshine @ 2021-05-02  6:52 UTC (permalink / raw)
  To: Josh Soref; +Cc: gitgitgadget/git, Git List

On Sun, May 2, 2021 at 1:49 AM Josh Soref <jsoref@gmail.com> wrote:
> Eric Sunshine wrote:
> > diff --git a/notes-merge.c b/notes-merge.c
> > @@ -628,7 +628,7 @@ int notes_merge(struct notes_merge_options *o,
> >   if (o->verbosity >= 2)
> > - printf("Already up to date!\n");
> > + printf_ln("Already up to date.");
>
> Should this have `_(...)` decorations?

Yes, indeed. I'll fix it in a re-roll and mention it in the commit message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gitgitgadget/git] git-merge: rewrite already up to date message (#934)
  2021-05-02  6:52     ` Eric Sunshine
@ 2021-05-02 23:19       ` Eric Sunshine
  2021-05-03  1:13         ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Sunshine @ 2021-05-02 23:19 UTC (permalink / raw)
  To: Josh Soref; +Cc: gitgitgadget/git, Git List, Junio C Hamano

On Sun, May 2, 2021 at 2:52 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
> On Sun, May 2, 2021 at 1:49 AM Josh Soref <jsoref@gmail.com> wrote:
> > Eric Sunshine wrote:
> > > diff --git a/notes-merge.c b/notes-merge.c
> > > - printf("Already up to date!\n");
> > > + printf_ln("Already up to date.");
> >
> > Should this have `_(...)` decorations?
>
> Yes, indeed. I'll fix it in a re-roll and mention it in the commit message.

On second thought, I don't think I will make this change since none of
the messages in `notes-merge.c` have been marked for localization yet
-- and there are a lot of messages in that file -- so wrapping just
this one message in `_(...)` would be inconsistent, and marking all
messages in `notes-merge.c` as localizable is outside the scope of
this series.

So, at the moment, I don't plan on re-rolling this series, and
hopefully Junio can pick it up as-is (but, of course, will re-roll if
someone spots something which needs fixing).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gitgitgadget/git] git-merge: rewrite already up to date message (#934)
  2021-05-02 23:19       ` Eric Sunshine
@ 2021-05-03  1:13         ` Junio C Hamano
  0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2021-05-03  1:13 UTC (permalink / raw)
  To: Eric Sunshine; +Cc: Josh Soref, gitgitgadget/git, Git List

Eric Sunshine <sunshine@sunshineco.com> writes:

> On second thought, I don't think I will make this change since none of
> the messages in `notes-merge.c` have been marked for localization yet
> -- and there are a lot of messages in that file -- so wrapping just
> this one message in `_(...)` would be inconsistent, and marking all
> messages in `notes-merge.c` as localizable is outside the scope of
> this series.

I looked at the neighbouring code when I gave the "grep" output,
because I wondered exactly about the same thing, and I agree with
your conclusion here.

> So, at the moment, I don't plan on re-rolling this series, and
> hopefully Junio can pick it up as-is (but, of course, will re-roll if
> someone spots something which needs fixing).

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-03  1:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gitgitgadget/git/pull/934@github.com>
     [not found] ` <gitgitgadget/git/pull/934/c830744540@github.com>
2021-05-02  5:49   ` [gitgitgadget/git] git-merge: rewrite already up to date message (#934) Josh Soref
2021-05-02  6:52     ` Eric Sunshine
2021-05-02 23:19       ` Eric Sunshine
2021-05-03  1:13         ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).