These are chat archives for opf/openproject

3rd
Aug 2015
Toshi MARUYAMA
@marutosi
Aug 03 2015 14:31
Bug #20883: [repo] Git can't annotate files with UTF-8 encoded authors.
SCM annotate with non ASCII author
You are wrong.
kgalli
@kgalli
Aug 03 2015 14:33
so can you enlighten us?
cmd_args = %w|blame --encoding=UTF-8|
kgalli
@kgalli
Aug 03 2015 14:36
@oliverguenther what are your opinions on that
FELIX_HEX = "Felix Sch\xC3\xA4fer"
FELIX_UTF8 = 'Felix Schäfer'
Oliver Günther
@oliverguenther
Aug 03 2015 14:42
So it will fail for non-utf8 encoded author names
does git do that?
if so, bad git!
Toshi MARUYAMA
@marutosi
Aug 03 2015 14:48
You need to learn what encoding is.
Oliver Günther
@oliverguenther
Aug 03 2015 14:48
@marutosi Please don't insult me, I know what encoding is.
Toshi MARUYAMA
@marutosi
Aug 03 2015 14:49
Do you know "--encoding=UTF-8" means?
It is easy to know "git blame --encoding=UTF-8" output.
Toshi MARUYAMA
@marutosi
Aug 03 2015 15:01
$ gunzip < git_repository.tar.gz | tar xf -

$ cat config

http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt

"git" wrapper learned "-c name=value" option to override configuration

variable from the command line.

[core]
repositoryformatversion = 0
filemode = true
bare = true
[color]
ui = always
[i18n]
logoutputencoding = ISO-8859-1
[core]

    # quotepath = true
    quotepath = false
logoutputencoding = ISO-8859-1
logoutputencoding = ISO-8859-1
logoutputencoding = ISO-8859-1
Toshi MARUYAMA
@marutosi
Aug 03 2015 15:08
This message was deleted
kgalli
@kgalli
Aug 03 2015 15:23
@marutosi I think we got it now. Thank god you pointed that out.