<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/bisect.c, branch v2.12.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.12.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.12.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-03-16T20:56:43Z</updated>
<entry>
<title>Merge branch 'mm/two-more-xstrfmt' into maint</title>
<updated>2017-03-16T20:56:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-03-16T20:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f989ac276d310564364482979a78b83d113c4044'/>
<id>urn:sha1:f989ac276d310564364482979a78b83d113c4044</id>
<content type='text'>
Code clean-up and a string truncation fix.

* mm/two-more-xstrfmt:
  bisect_next_all: convert xsnprintf to xstrfmt
  stop_progress_msg: convert xsnprintf to xstrfmt
</content>
</entry>
<entry>
<title>bisect_next_all: convert xsnprintf to xstrfmt</title>
<updated>2017-02-16T19:28:17Z</updated>
<author>
<name>Maxim Moseychuk</name>
<email>franchesko.salias.hudro.pedros@gmail.com</email>
</author>
<published>2017-02-16T17:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2cfa83574c4b2685208a1e6062fdc573c887cf00'/>
<id>urn:sha1:2cfa83574c4b2685208a1e6062fdc573c887cf00</id>
<content type='text'>
Git can't run bisect between 2048+ commits if use russian
translation, because the translated string is too long for the fixed
buffer it uses (this can be reproduced "LANG=ru_RU.UTF8 git bisect
start v4.9 v4.8" on linux sources).

Use xstrfmt() to format the message string to sufficiently sized
buffer instead to fix this.

Signed-off-by: Maxim Moseychuk &lt;franchesko.salias.hudro.pedros@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: improve English grammar of not-ancestors message</title>
<updated>2016-12-05T22:50:38Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2016-12-04T22:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3f407b7614bccffffad14fad42377dd0c3603f66'/>
<id>urn:sha1:3f407b7614bccffffad14fad42377dd0c3603f66</id>
<content type='text'>
Multiple revisions cannot be a single ancestor.

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use QSORT</title>
<updated>2016-09-29T22:42:18Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2016-09-29T15:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ed0d8d6e6de7737fe9a658446318b86e57c6fad'/>
<id>urn:sha1:9ed0d8d6e6de7737fe9a658446318b86e57c6fad</id>
<content type='text'>
Apply the semantic patch contrib/coccinelle/qsort.cocci to the code
base, replacing calls of qsort(3) with QSORT.  The resulting code is
shorter and supports empty arrays with NULL pointers.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/printf-format'</title>
<updated>2016-07-19T20:22:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-19T20:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=96e08010ee5b9d1dbfbcc8561fa69f972a415a38'/>
<id>urn:sha1:96e08010ee5b9d1dbfbcc8561fa69f972a415a38</id>
<content type='text'>
Code clean-up to avoid using a variable string that compilers may
feel untrustable as printf-style format given to write_file()
helper function.

* jk/printf-format:
  commit.c: remove print_commit_list()
  avoid using sha1_to_hex output as printf format
  walker: let walker_say take arbitrary formats
</content>
</entry>
<entry>
<title>Merge branch 'bc/cocci'</title>
<updated>2016-07-19T20:22:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-19T20:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a63d31b4d3640960d9a71606eee80c32459f906e'/>
<id>urn:sha1:a63d31b4d3640960d9a71606eee80c32459f906e</id>
<content type='text'>
Conversion from unsigned char sha1[20] to struct object_id
continues.

* bc/cocci:
  diff: convert prep_temp_blob() to struct object_id
  merge-recursive: convert merge_recursive_generic() to object_id
  merge-recursive: convert leaf functions to use struct object_id
  merge-recursive: convert struct merge_file_info to object_id
  merge-recursive: convert struct stage_data to use object_id
  diff: rename struct diff_filespec's sha1_valid member
  diff: convert struct diff_filespec to struct object_id
  coccinelle: apply object_id Coccinelle transformations
  coccinelle: convert hashcpy() with null_sha1 to hashclr()
  contrib/coccinelle: add basic Coccinelle transforms
  hex: add oid_to_hex_r()
</content>
</entry>
<entry>
<title>Merge branch 'va/i18n-even-more'</title>
<updated>2016-07-13T18:24:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-13T18:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2703572b3a005848ed058d2775fb933a17ac3656'/>
<id>urn:sha1:2703572b3a005848ed058d2775fb933a17ac3656</id>
<content type='text'>
More markings of messages for i18n, with updates to various tests
to pass GETTEXT_POISON tests.

One patch from the original submission dropped due to conflicts
with jk/upload-pack-hook, which is still in flux.

* va/i18n-even-more: (38 commits)
  t5541: become resilient to GETTEXT_POISON
  i18n: branch: mark comment when editing branch description for translation
  i18n: unmark die messages for translation
  i18n: submodule: escape shell variables inside eval_gettext
  i18n: submodule: join strings marked for translation
  i18n: init-db: join message pieces
  i18n: remote: allow translations to reorder message
  i18n: remote: mark URL fallback text for translation
  i18n: standardise messages
  i18n: sequencer: add period to error message
  i18n: merge: change command option help to lowercase
  i18n: merge: mark messages for translation
  i18n: notes: mark options for translation
  i18n: notes: mark strings for translation
  i18n: transport-helper.c: change N_() call to _()
  i18n: bisect: mark strings for translation
  t5523: use test_i18ngrep for negation
  t4153: fix negated test_i18ngrep call
  t9003: become resilient to GETTEXT_POISON
  tests: unpack-trees: update to use test_i18n* functions
  ...
</content>
</entry>
<entry>
<title>commit.c: remove print_commit_list()</title>
<updated>2016-07-08T17:11:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-08T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=54307ea7c3ced760ee375483a786ec7180798aed'/>
<id>urn:sha1:54307ea7c3ced760ee375483a786ec7180798aed</id>
<content type='text'>
The helper function tries to offer a way to conveniently show the
last one differently from others, presumably to allow you to say
something like

	A, B, and C.

while iterating over a list that has these three elements.

However, there is only one caller, and it passes the same format
string "%s\n" for both the last one and the other ones.  Retire the
helper function and update the caller with a simplified version.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/bisect-show-tree'</title>
<updated>2016-07-06T20:38:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-06T20:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1e80a12a485c1d3092cef96aa4a101405d326f9'/>
<id>urn:sha1:f1e80a12a485c1d3092cef96aa4a101405d326f9</id>
<content type='text'>
"git bisect" makes an internal call to "git diff-tree" when
bisection finds the culprit, but this call did not initialize the
data structure to pass to the diff-tree API correctly.

* jk/bisect-show-tree:
  bisect: always call setup_revisions after init_revisions
</content>
</entry>
<entry>
<title>coccinelle: apply object_id Coccinelle transformations</title>
<updated>2016-06-28T18:39:02Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2016-06-24T23:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c368dde9245fa3d50b7e01e1ff4f9e5c12c718da'/>
<id>urn:sha1:c368dde9245fa3d50b7e01e1ff4f9e5c12c718da</id>
<content type='text'>
Apply the set of semantic patches from contrib/coccinelle to convert
some leftover places using struct object_id's hash member to instead
use the wrapper functions that take struct object_id natively.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
