Re: [PATCH] branch -v: align even when the first column is in UTF-8

2012-08-26 Thread Junio C Hamano
Erik Faye-Lund writes: > On Fri, Aug 24, 2012 at 4:17 PM, Nguyễn Thái Ngọc Duy > wrote: >> 1 tập tin đã bị thay đổi, 5 được thêm vào(+), 3 bị xóa(-) > > Huh? Perhaps format-patch should always use C locale. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a mes

Re: [PATCH] branch -v: align even when the first column is in UTF-8

2012-08-25 Thread Nguyen Thai Ngoc Duy
2012/8/25 Erik Faye-Lund : > On Fri, Aug 24, 2012 at 4:17 PM, Nguyễn Thái Ngọc Duy > wrote: >> 1 tập tin đã bị thay đổi, 5 được thêm vào(+), 3 bị xóa(-) > > Huh? Oh, that's something we should fix soon, too. I suggested a "project language" config key some time ago, where commands like format-p

Re: [PATCH] branch -v: align even when the first column is in UTF-8

2012-08-25 Thread Erik Faye-Lund
On Fri, Aug 24, 2012 at 4:17 PM, Nguyễn Thái Ngọc Duy wrote: > 1 tập tin đã bị thay đổi, 5 được thêm vào(+), 3 bị xóa(-) Huh? N�r��yb�X��ǧv�^�)޺{.n�+ا���ܨ}���Ơz�&j:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf

Re: [PATCH] branch -v: align even when the first column is in UTF-8

2012-08-24 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > Branch names are usually in ASCII so they are not the problem. The > problem most likely comes from "(no branch)" translation, which is in > UTF-8 and makes length calculation just wrong. > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > So far all git translations

[PATCH] branch -v: align even when the first column is in UTF-8

2012-08-24 Thread Nguyễn Thái Ngọc Duy
Branch names are usually in ASCII so they are not the problem. The problem most likely comes from "(no branch)" translation, which is in UTF-8 and makes length calculation just wrong. Signed-off-by: Nguyễn Thái Ngọc Duy --- So far all git translations are utf-8 compatible. Branch names may use