git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Forcing encoding for "git commit"
@ 2008-11-11 17:10 Constantine Plotnikov
  0 siblings, 0 replies; only message in thread
From: Constantine Plotnikov @ 2008-11-11 17:10 UTC (permalink / raw)
  To: git

I would like to see a possibility to force encoding for the "git
commit" command. Currently only way to change encoding used by "git
commit" is to set "i18n.commitencoding" configuration variable. But
there is no way to override this variable for the specific commit like
it is possible for "show" and "log" commands.

This would be useful when git is invoked from the tools. Currently
tools have to query configuration variable and to encode message
according to the value of the variable. And it might happen that not
all characters produced by tool are supported by target encoding.
Forcing the encoding, would have allowed the tool use the suitable
encoding without changing user preferences.

Regards,
Constantine

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-11 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 17:10 Forcing encoding for "git commit" Constantine Plotnikov

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 NNTP newsgroup(s).