Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: [PATCH] push: Provide situational hints for non-fast-forward errors

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:18

Possibly related (same subject, not in this thread)

Matthieu Moy [off-list ref] writes:
I'm no expert in gettext, but I think the internationalization people
will have a hard time dealing with a single message split accross an
array.
My original patch on this topic predates the i18n adjustment we made to
advice infrastructure in 23cb5bf (i18n of multi-line advice messages,
2011-12-22), so that is an understandable oversight.

Thanks for catching this.
Actually, I prefer the effect of a single advise() call (i.e. say
"hint:" just once, not for each line), but this part is subjective.
The way advice.c::error_resolve_conflict() uses multi-line advice message
should be a good template.  The choice between "hint" for once or for
every line can later be adjusted in advice.c::advice() if we want to and
such a change will convert all the users of advice API consistently.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help