diff options
author | Uwe Kleine-König <ukleinek@strlen.de> | 2010-09-24 16:41:57 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@strlen.de> | 2010-09-24 16:41:57 +0200 |
commit | 7f780e469f7deda4818c24cb2159edd432bed401 (patch) | |
tree | cd21ce258cfc7be1c6b0988e66b0721954d939b5 | |
parent | 2c23dc127f77349b97cabe7f96a1377b730bbbdc (diff) | |
download | ubergit-7f780e469f7deda4818c24cb2159edd432bed401.tar.gz ubergit-7f780e469f7deda4818c24cb2159edd432bed401.tar.xz |
new todo: which encoding should be assumed for .ubergit/msg?
The message is used as commit log, so it should be recoded to
$(git config i18n.commitencoding || echo UTF-8).
Probably the most sane choice is the encoding of $1.
$(git config i18n.commitencoding || echo UTF-8) won't work, as the config
is a per-repository thing, while .ubergit/msg is possibly contained in
different repositories.
Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
-rw-r--r-- | uglib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ is_ugish() { ## msg ## {{{2 msg() { + # XXX: encoding of msg file? Assume encoding of commit? assert test "$#" = 1 assert is_topic "$1" |