Gamatora / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

incorrect colouring #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My git repo has only .txt files in it, and they are coloured orange in gource.

however one file has a maori macron in the name, and it gets colour blue, 
despite being a .txt file.

Original issue reported on code.google.com by brenda.w...@gmail.com on 3 Nov 2010 at 9:43

GoogleCodeExporter commented 9 years ago
It looks like git log (and various other commands) escape the filename and put 
it in double quotes if it contains non-ascii (?) characters. So Ngāti-Toa.txt 
becomes "Ng\304\201ti-Toa.txt". Gource is including the last double quote in 
the file extension when hashing it to get the colour.

I think I need to either change the git log command or un-escape the filenames 
and remove the double quotes.

Original comment by acaudw...@gmail.com on 4 Nov 2010 at 1:48

GoogleCodeExporter commented 9 years ago
I've fixed the coloring bug. Haven't done anything with the escaping.

Original comment by acaudw...@gmail.com on 17 Nov 2010 at 1:35

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 17 Nov 2010 at 9:59