git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Constantine Plotnikov" <constantine.plotnikov@gmail.com>
To: git@vger.kernel.org
Subject: Forcing encoding for "git commit"
Date: Tue, 11 Nov 2008 20:10:46 +0300	[thread overview]
Message-ID: <85647ef50811110910p7b40fd5dhcd79f8ae38709b95@mail.gmail.com> (raw)

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

                 reply	other threads:[~2008-11-11 17:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85647ef50811110910p7b40fd5dhcd79f8ae38709b95@mail.gmail.com \
    --to=constantine.plotnikov@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).