<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/bundle.c, branch v1.7.11</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.11</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.11'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2012-05-02T20:51:35Z</updated>
<entry>
<title>Merge branch 'nd/i18n'</title>
<updated>2012-05-02T20:51:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-05-02T20:51:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1be65eda6a7018445ebdd9cfec4b1caab4db34ba'/>
<id>urn:sha1:1be65eda6a7018445ebdd9cfec4b1caab4db34ba</id>
<content type='text'>
More message strings marked for i18n.

By Nguyễn Thái Ngọc Duy (10) and Jonathan Nieder (1)
* nd/i18n:
  help: replace underlining "help -a" headers using hyphens with a blank line
  i18n: bundle: mark strings for translation
  i18n: index-pack: mark strings for translation
  i18n: apply: update say_patch_name to give translators complete sentence
  i18n: apply: mark strings for translation
  i18n: remote: mark strings for translation
  i18n: make warn_dangling_symref() automatically append \n
  i18n: help: mark strings for translation
  i18n: mark relative dates for translation
  strbuf: convenience format functions with \n automatically appended
  Makefile: feed all header files to xgettext
</content>
</entry>
<entry>
<title>Sync with 1.7.8.6</title>
<updated>2012-04-26T17:22:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-04-26T17:22:20Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b2bab5b338b30d45e338c8df3c15e6483d6bb11e'/>
<id>urn:sha1:b2bab5b338b30d45e338c8df3c15e6483d6bb11e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sync with 1.7.7.7</title>
<updated>2012-04-26T16:52:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-04-26T16:52:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=aba5f57c8fbb04abc5d286310969c1f767793930'/>
<id>urn:sha1:aba5f57c8fbb04abc5d286310969c1f767793930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bundle: remove stray single-quote from error message</title>
<updated>2012-04-26T15:08:07Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2012-04-26T05:53:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=97afde15f58728138f8e178b2acb7c72473f7d96'/>
<id>urn:sha1:97afde15f58728138f8e178b2acb7c72473f7d96</id>
<content type='text'>
After running rev-list --boundary to retrieve the list of boundary
commits, "git bundle create" runs its own revision walk.  If in this
stage git encounters an unfamiliar option, it writes a message with an
unbalanced quotation mark:

	error: unrecognized argument: --foo'

Drop the stray quote to match the "unrecognized argument: %s" message
used elsewhere and save translators some work.

This is mostly a futureproofing measure: for now, the "rev-list
--boundary" command catches most strange arguments on its own and the
above message is not seen unless you try something esoteric like "git
bundle create test.bundle --header HEAD".

Reported-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: bundle: mark strings for translation</title>
<updated>2012-04-24T21:55:48Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-04-23T12:30:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8a1e7eac689c53f15d986e8525484ca9bd640553'/>
<id>urn:sha1:8a1e7eac689c53f15d986e8525484ca9bd640553</id>
<content type='text'>
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 'tr/maint-bundle-boundary' into maint</title>
<updated>2012-03-12T22:46:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-03-12T22:46:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=92b7aacbbc654de4cfae6806bc92cf81ec1823aa'/>
<id>urn:sha1:92b7aacbbc654de4cfae6806bc92cf81ec1823aa</id>
<content type='text'>
"git bundle" did not record boundary commits correctly when there
are many of them.

By Thomas Rast
* tr/maint-bundle-boundary:
  bundle: keep around names passed to add_pending_object()
  t5510: ensure we stay in the toplevel test dir
  t5510: refactor bundle-&gt;pack conversion
</content>
</entry>
<entry>
<title>Merge branch 'tr/maint-bundle-boundary'</title>
<updated>2012-03-06T22:53:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-03-06T22:53:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4ebed61ae46194e35cdf353acafec56b38b6b3c2'/>
<id>urn:sha1:4ebed61ae46194e35cdf353acafec56b38b6b3c2</id>
<content type='text'>
By Thomas Rast
* tr/maint-bundle-boundary:
  bundle: keep around names passed to add_pending_object()
  t5510: ensure we stay in the toplevel test dir
  t5510: refactor bundle-&gt;pack conversion
</content>
</entry>
<entry>
<title>Merge branch 'tr/maint-bundle-long-subject' into maint</title>
<updated>2012-03-05T06:16:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-03-05T06:16:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=26f1e9bd68b6eb32d1376ae392354551c5ae17bc'/>
<id>urn:sha1:26f1e9bd68b6eb32d1376ae392354551c5ae17bc</id>
<content type='text'>
* tr/maint-bundle-long-subject:
  t5704: match tests to modern style
  strbuf: improve strbuf_get*line documentation
  bundle: use a strbuf to scan the log for boundary commits
  bundle: put strbuf_readline_fd in strbuf.c with adjustments
</content>
</entry>
<entry>
<title>bundle: keep around names passed to add_pending_object()</title>
<updated>2012-03-01T22:34:42Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2012-03-01T21:40:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=efe4be12490ab684786c48135731c4d2648bbecc'/>
<id>urn:sha1:efe4be12490ab684786c48135731c4d2648bbecc</id>
<content type='text'>
The 'name' field passed to add_pending_object() is used to later
deduplicate in object_array_remove_duplicates().

git-bundle had a bug in this area since 18449ab (git-bundle: avoid
packing objects which are in the prerequisites, 2007-03-08): it passed
the name of each boundary object in a static buffer.  In other words,
all that object_array_remove_duplicates() saw was the name of the
*last* added boundary object.

The recent switch to a strbuf in bc2fed4 (bundle: use a strbuf to scan
the log for boundary commits, 2012-02-22) made this slightly worse: we
now free the buffer at the end, so it is not even guaranteed that it
still points into addressable memory by the time object_array_remove_
duplicates looks at it.  On the plus side however, it was now
detectable by valgrind.

The fix is easy: pass a copy of the string to add_pending_object.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/maint-bundle-long-subject'</title>
<updated>2012-02-27T07:05:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-02-27T07:05:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ac1373f1c26d545ef303a71bedcd31b9279f55bd'/>
<id>urn:sha1:ac1373f1c26d545ef303a71bedcd31b9279f55bd</id>
<content type='text'>
* tr/maint-bundle-long-subject:
  t5704: match tests to modern style
  strbuf: improve strbuf_get*line documentation
  bundle: use a strbuf to scan the log for boundary commits
  bundle: put strbuf_readline_fd in strbuf.c with adjustments
</content>
</entry>
</feed>
