<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/git.git, branch as/pretty-truncate</title>
<subtitle>github.com: git/git.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/'/>
<entry>
<title>pretty.c: format string with truncate respects logOutputEncoding</title>
<updated>2014-05-21T18:13:30+00:00</updated>
<author>
<name>Alexey Shumkin</name>
<email>alex.crezoff@gmail.com</email>
</author>
<published>2014-05-21T13:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=7d509878b845a2a895cc880b833a016a06199981'/>
<id>7d509878b845a2a895cc880b833a016a06199981</id>
<content type='text'>
Pretty format string %&lt;(N,[ml]trunc)&gt;%s truncates subject to a given
length with an appropriate padding. This works for non-ASCII texts when
i18n.logOutputEncoding is UTF-8 only (independently of a printed commit
message encoding) but does not work when i18n.logOutputEncoding is NOT
UTF-8.

In 7e77df3 (pretty: two phase conversion for non utf-8 commits, 2013-04-19)
'format_commit_item' function assumes commit message to be in UTF-8.
And that was so until ecaee80 (pretty: --format output should honor
logOutputEncoding, 2013-06-26) where conversion to logOutputEncoding was
added before calling 'format_commit_message'.

Correct this by converting a commit message to UTF-8 first (as it
assumed in 7e77df3 (pretty: two phase conversion for non utf-8 commits,
2013-04-19)). Only after that convert a commit message to an actual
logOutputEncoding.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Reviewed-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pretty format string %&lt;(N,[ml]trunc)&gt;%s truncates subject to a given
length with an appropriate padding. This works for non-ASCII texts when
i18n.logOutputEncoding is UTF-8 only (independently of a printed commit
message encoding) but does not work when i18n.logOutputEncoding is NOT
UTF-8.

In 7e77df3 (pretty: two phase conversion for non utf-8 commits, 2013-04-19)
'format_commit_item' function assumes commit message to be in UTF-8.
And that was so until ecaee80 (pretty: --format output should honor
logOutputEncoding, 2013-06-26) where conversion to logOutputEncoding was
added before calling 'format_commit_message'.

Correct this by converting a commit message to UTF-8 first (as it
assumed in 7e77df3 (pretty: two phase conversion for non utf-8 commits,
2013-04-19)). Only after that convert a commit message to an actual
logOutputEncoding.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Reviewed-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t4205, t6006: add tests that fail with i18n.logOutputEncoding set</title>
<updated>2014-05-21T18:11:50+00:00</updated>
<author>
<name>Alexey Shumkin</name>
<email>alex.crezoff@gmail.com</email>
</author>
<published>2014-05-21T13:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=d928d81051fc8475c7845526b255cb8e80b39f12'/>
<id>d928d81051fc8475c7845526b255cb8e80b39f12</id>
<content type='text'>
Pretty format string %&lt;(N,[ml]trunc)&gt;%s truncates subject to a given
length with an appropriate padding. This works for non-ASCII texts when
i18n.logOutputEncoding is UTF-8 only (independently of a printed commit
message encoding) but does not work when i18n.logOutputEncoding is NOT
UTF-8.

There were no breakages as far as were no tests for the case
when both a commit message and logOutputEncoding are not UTF-8.

Add failing tests for that which will be fixed in the next patch.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Helped-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Helped-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pretty format string %&lt;(N,[ml]trunc)&gt;%s truncates subject to a given
length with an appropriate padding. This works for non-ASCII texts when
i18n.logOutputEncoding is UTF-8 only (independently of a printed commit
message encoding) but does not work when i18n.logOutputEncoding is NOT
UTF-8.

There were no breakages as far as were no tests for the case
when both a commit message and logOutputEncoding are not UTF-8.

Add failing tests for that which will be fixed in the next patch.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Helped-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Helped-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t4205 (log-pretty-format): use `tformat` rather than `format`</title>
<updated>2014-05-21T18:10:10+00:00</updated>
<author>
<name>Alexey Shumkin</name>
<email>alex.crezoff@gmail.com</email>
</author>
<published>2014-05-21T13:20:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=c82134a9f39427139a26cd67b7c2fd13b2e8c357'/>
<id>c82134a9f39427139a26cd67b7c2fd13b2e8c357</id>
<content type='text'>
Use `tformat` to avoid using of `echo` to complete end of line.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `tformat` to avoid using of `echo` to complete end of line.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t4041, t4205, t6006, t7102: don't hardcode tested encoding value</title>
<updated>2014-05-21T18:10:06+00:00</updated>
<author>
<name>Alexey Shumkin</name>
<email>alex.crezoff@gmail.com</email>
</author>
<published>2014-05-21T13:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=ee3efaf66c7599340a5deb030ee6969b6d7d39aa'/>
<id>ee3efaf66c7599340a5deb030ee6969b6d7d39aa</id>
<content type='text'>
The tested encoding is always available in a variable. Use it instead of
hardcoding. Also, to be in line with other tests use ISO8859-1
(uppercase) rather then iso8859-1.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tested encoding is always available in a variable. Use it instead of
hardcoding. Also, to be in line with other tests use ISO8859-1
(uppercase) rather then iso8859-1.

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t4205 (log-pretty-formats): don't hardcode SHA-1 in expected outputs</title>
<updated>2014-05-19T18:24:46+00:00</updated>
<author>
<name>Alexey Shumkin</name>
<email>Alex.Crezoff@gmail.com</email>
</author>
<published>2014-05-19T15:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=496a69802bc4035d5dc26c8d97144d8ae30e52c4'/>
<id>496a69802bc4035d5dc26c8d97144d8ae30e52c4</id>
<content type='text'>
The expected SHA-1 digests are always available in variables. Use
them instead of hardcoding.

That was introduced in a742f2a (t4205 (log-pretty-formats): don't
hardcode SHA-1 in expected outputs, 2013-06-26) but unfortunately was
not followed in 5e1361c (log: properly handle decorations with chained
tags, 2013-12-17)

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The expected SHA-1 digests are always available in variables. Use
them instead of hardcoding.

That was introduced in a742f2a (t4205 (log-pretty-formats): don't
hardcode SHA-1 in expected outputs, 2013-06-26) but unfortunately was
not followed in 5e1361c (log: properly handle decorations with chained
tags, 2013-12-17)

Signed-off-by: Alexey Shumkin &lt;Alex.Crezoff@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fc/prompt-zsh-read-from-file'</title>
<updated>2014-05-13T18:53:14+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-05-13T18:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=6308767f0bb58116cb405e1f4f77f5dfc1589920'/>
<id>6308767f0bb58116cb405e1f4f77f5dfc1589920</id>
<content type='text'>
* fc/prompt-zsh-read-from-file:
  contrib: completion: fix 'eread()' namespace
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fc/prompt-zsh-read-from-file:
  contrib: completion: fix 'eread()' namespace
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib: completion: fix 'eread()' namespace</title>
<updated>2014-05-13T18:52:51+00:00</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2014-05-13T13:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=66ab301c165b5ba6395b7bcc7cf35a7592f9f46f'/>
<id>66ab301c165b5ba6395b7bcc7cf35a7592f9f46f</id>
<content type='text'>
Otherwise it might collide with a function of the same name in the
user's environment.

Suggested-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it might collide with a function of the same name in the
user's environment.

Suggested-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://github.com/git-l10n/git-po</title>
<updated>2014-05-12T17:12:05+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-05-12T17:12:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=998f84075acbdc02eaa3b1b0d0f96a3f2a9165a6'/>
<id>998f84075acbdc02eaa3b1b0d0f96a3f2a9165a6</id>
<content type='text'>
* git://github.com/git-l10n/git-po:
  l10n: Updated Bulgarian translation of git (1307t0f921u)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://github.com/git-l10n/git-po:
  l10n: Updated Bulgarian translation of git (1307t0f921u)
</pre>
</div>
</content>
</entry>
<entry>
<title>l10n: Updated Bulgarian translation of git (1307t0f921u)</title>
<updated>2014-05-11T14:09:01+00:00</updated>
<author>
<name>Alexander Shopov</name>
<email>ash@kambanaria.org</email>
</author>
<published>2014-01-29T13:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=1c3c8410ef02750b8be84cea32ffee8f70918ae9'/>
<id>1c3c8410ef02750b8be84cea32ffee8f70918ae9</id>
<content type='text'>
Signed-off-by: Alexander Shopov &lt;ash@kambanaria.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexander Shopov &lt;ash@kambanaria.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Git 2.0-rc3</title>
<updated>2014-05-09T18:23:55+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-05-09T18:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=b28aeab4ec1df28f3be3cb62ff4b85e5332d8d13'/>
<id>b28aeab4ec1df28f3be3cb62ff4b85e5332d8d13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
