<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-am.sh, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-02-06T00:13:12Z</updated>
<entry>
<title>Merge branch 'jc/fake-ancestor-with-non-blobs'</title>
<updated>2013-02-06T00:13:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-02-06T00:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d81ce0543c2fb7177c08491ba31a69aa54b7930'/>
<id>urn:sha1:6d81ce0543c2fb7177c08491ba31a69aa54b7930</id>
<content type='text'>
Rebasing the history of superproject with change in the submodule
was broken since v1.7.12.

* jc/fake-ancestor-with-non-blobs:
  apply: diagnose incomplete submodule object name better
  apply: simplify build_fake_ancestor()
  git-am: record full index line in the patch used while rebasing
</content>
</entry>
<entry>
<title>git-am: record full index line in the patch used while rebasing</title>
<updated>2013-02-01T04:30:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-02-01T03:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ae6d4699f4d1df7cd3ffac9dd361c86d62eca42'/>
<id>urn:sha1:4ae6d4699f4d1df7cd3ffac9dd361c86d62eca42</id>
<content type='text'>
Earlier, a230949 (am --rebasing: get patch body from commit, not
from mailbox, 2012-06-26) learned to regenerate patch body from the
commit object while rebasing, instead of reading from the rebase-am
front-end.  While doing so, it used "git diff-tree" but without
giving it the "--full-index" option.

This does not matter for in-repository objects; during rebasing, any
abbreviated object name should uniquely identify them.

But we may be rebasing a commit that contains a change to a gitlink,
in which case we usually should not have the object (it names a
commit in the submodule).  A full object name is necessary to later
reconstruct a fake ancestor index for them.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dl/am-hg-locale'</title>
<updated>2013-01-28T18:59:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-28T18:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=738b314a3e3a9baa45b269ffa35732e54331f7b7'/>
<id>urn:sha1:738b314a3e3a9baa45b269ffa35732e54331f7b7</id>
<content type='text'>
Datestamp recorded in "Hg" format patch was reformatted incorrectly
to an e-mail looking date using locale dependant strftime, causing
patch application to fail.

* dl/am-hg-locale:
  am: invoke perl's strftime in C locale
</content>
</entry>
<entry>
<title>am: invoke perl's strftime in C locale</title>
<updated>2013-01-18T20:37:39Z</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2013-01-14T20:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5185b9707a768a0ad17de4765c7893f86f4c4a0e'/>
<id>urn:sha1:5185b9707a768a0ad17de4765c7893f86f4c4a0e</id>
<content type='text'>
We used to convert timestamps in metadata comment of Hg patch to
mbox-looking Date: field using strftime, without making sure the
resulting string is not translated.  Always use C locale for this.

Signed-off-by: Dmitry V. Levin &lt;ldv@altlinux.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/am-i18n-fix'</title>
<updated>2012-09-07T18:09:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-07T18:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e245397434f8d26bf18053823c3fb9d1374679bd'/>
<id>urn:sha1:e245397434f8d26bf18053823c3fb9d1374679bd</id>
<content type='text'>
"git am" wasn't marked up for i18n properly.

* nd/am-i18n-fix:
  am: quote string for translation before passing to eval_gettextln
</content>
</entry>
<entry>
<title>am: quote string for translation before passing to eval_gettextln</title>
<updated>2012-08-22T16:59:52Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-08-22T14:48:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a312a271b92fe74f5954adbb824987b040926c4c'/>
<id>urn:sha1:a312a271b92fe74f5954adbb824987b040926c4c</id>
<content type='text'>
If it's not quoted, the string is expanded before it gets looked up in
gettext database and obviously nothing is returned.

Signed-off-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>
</entry>
<entry>
<title>Merge branch 'jx/i18n-1.7.11'</title>
<updated>2012-07-31T16:41:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-31T16:41:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fe1484a9b89e22f14d94d5b050c39db7ad65c81'/>
<id>urn:sha1:5fe1484a9b89e22f14d94d5b050c39db7ad65c81</id>
<content type='text'>
Add i18n support for scripted Porcelains, and mark strings in
merge(-recursive), am, and rebase for i18n.

* jx/i18n-1.7.11:
  i18n: merge-recursive: mark strings for translation
  Remove dead code which contains bad gettext block
  i18n: am: mark more strings for translation
  rebase: remove obsolete and unused LONG_USAGE which breaks xgettext
  i18n: Rewrite gettext messages start with dash
  i18n: rebase: mark messages for translation
  i18n: New keywords for xgettext extraction from sh
</content>
</entry>
<entry>
<title>Remove dead code which contains bad gettext block</title>
<updated>2012-07-27T05:34:15Z</updated>
<author>
<name>Jiang Xin</name>
<email>worldhello.net@gmail.com</email>
</author>
<published>2012-07-25T14:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31023e0a9fdba7ed6458caf2082dd6d82df6a56c'/>
<id>urn:sha1:31023e0a9fdba7ed6458caf2082dd6d82df6a56c</id>
<content type='text'>
Found this dead code when I examine gettext messages in shell scripts
start with dash ('-' or '--'). An error will be raised for this case,
like:

    $ gettext "-d option is no longer supported.  Do not use."
    gettext: missing arguments

Indead, this code has been left as dead for a long time, as Jonathan
points out:

    The git am -d/--dotest option has errored out with a message
    since e72c7406 (am: remove support for -d .dotest, 2008-03-04).
    The error message about lack of support was eliminated along
    with other cleanups (probably by mistake) a year later by
    removing the option from the option table in 98ef23b3 (git-am:
    minor cleanups, 2009-01-28).

    But the code to handle -d and --dotest stayed around even though
    ever since then it could not be tripped.  Remove this dead code.

Signed-off-by: Jiang Xin &lt;worldhello.net@gmail.com&gt;
Reviewed-by: Stefano Lattarini &lt;stefano.lattarini@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: am: mark more strings for translation</title>
<updated>2012-07-27T05:34:15Z</updated>
<author>
<name>Jiang Xin</name>
<email>worldhello.net@gmail.com</email>
</author>
<published>2012-07-25T14:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=42e6504f5e1366aeda4fdcd466a2e8bc7a75235e'/>
<id>urn:sha1:42e6504f5e1366aeda4fdcd466a2e8bc7a75235e</id>
<content type='text'>
Mark strings in 'git-am.sh' for translation. In the last chunk,
change '$1' to '-b/--binary', as it is not worth turning this
message to "The %s option has been..." and using printf on it.

Also reduce one indentation level for one gettextln clause introduced
in commit de88c1c.

Signed-off-by: Jiang Xin &lt;worldhello.net@gmail.com&gt;
Reviewed-by: Stefano Lattarini &lt;stefano.lattarini@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: rebase: mark messages for translation</title>
<updated>2012-07-25T17:09:14Z</updated>
<author>
<name>Jiang Xin</name>
<email>worldhello.net@gmail.com</email>
</author>
<published>2012-07-25T14:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7108bf9ed72403bdf6274bf46263731590bffcf'/>
<id>urn:sha1:c7108bf9ed72403bdf6274bf46263731590bffcf</id>
<content type='text'>
Mark messages in git-rebase.sh for translation.  While doing this
Jonathan noticed that the comma usage and sentence structure of the
resolvemsg was not quite right, so correct that and its cousins in
git-am.sh and t/t0201-gettext-fallbacks.sh at the same time.

Some tests would start to fail with GETTEXT_POISON turned on after
this update.  Use test_i18ncmp and test_i18ngrep where appropriate
to mark strings that should only be checked in the C locale output
to avoid such issues.

Signed-off-by: Jiang Xin &lt;worldhello.net@gmail.com&gt;
Reviewed-by: Stefano Lattarini &lt;stefano.lattarini@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
