<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-05-26T20:49:25Z</updated>
<entry>
<title>Merge branch 'jc/hash-object' into maint</title>
<updated>2015-05-26T20:49:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-26T20:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1e6c8babf86d8564104e159ce46df069c882a5af'/>
<id>urn:sha1:1e6c8babf86d8564104e159ce46df069c882a5af</id>
<content type='text'>
"hash-object --literally" introduced in v2.2 was not prepared to
take a really long object type name.

* jc/hash-object:
  write_sha1_file(): do not use a separate sha1[] array
  t1007: add hash-object --literally tests
  hash-object --literally: fix buffer overrun with extra-long object type
  git-hash-object.txt: document --literally option
</content>
</entry>
<entry>
<title>Merge branch 'jk/init-core-worktree-at-root' into maint</title>
<updated>2015-05-13T21:05:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-13T21:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a60abe10f2d54c668966f804bb400d21d08008a3'/>
<id>urn:sha1:a60abe10f2d54c668966f804bb400d21d08008a3</id>
<content type='text'>
We avoid setting core.worktree when the repository location is the
".git" directory directly at the top level of the working tree, but
the code misdetected the case in which the working tree is at the
root level of the filesystem (which arguably is a silly thing to
do, but still valid).

* jk/init-core-worktree-at-root:
  init: don't set core.worktree when initializing /.git
</content>
</entry>
<entry>
<title>Sync with 2.3.8</title>
<updated>2015-05-11T21:39:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-11T21:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c99fec6e35437f9db228c5a37c676faf844b3fa3'/>
<id>urn:sha1:c99fec6e35437f9db228c5a37c676faf844b3fa3</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'oh/fix-config-default-user-name-section' into maint-2.3</title>
<updated>2015-05-11T21:33:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-05-11T21:33:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1add9aed85674c2396a2a50cd4cd5548db32ac4f'/>
<id>urn:sha1:1add9aed85674c2396a2a50cd4cd5548db32ac4f</id>
<content type='text'>
The default $HOME/.gitconfig file created upon "git config --global"
that edits it had incorrectly spelled user.name and user.email
entries in it.

* oh/fix-config-default-user-name-section:
  config: fix settings in default_user_config template
</content>
</entry>
<entry>
<title>hash-object --literally: fix buffer overrun with extra-long object type</title>
<updated>2015-05-05T17:14:18Z</updated>
<author>
<name>Eric Sunshine</name>
<email>sunshine@sunshineco.com</email>
</author>
<published>2015-05-04T07:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0c3db67cc8137cebea5b1a9c3c7fc379ef8ffda6'/>
<id>urn:sha1:0c3db67cc8137cebea5b1a9c3c7fc379ef8ffda6</id>
<content type='text'>
"hash-object" learned in 5ba9a93 (hash-object: add --literally
option, 2014-09-11) to allow crafting a corrupt/broken object of
unknown type.

When the user-provided type is particularly long, however, it can
overflow the relatively small stack-based character array handed to
write_sha1_file_prepare() by hash_sha1_file() and write_sha1_file(),
leading to stack corruption (and crash).  Introduce a custom helper
to allow arbitrarily long typenames just for "hash-object --literally".

[jc: Eric's original used a strbuf in the more common codepaths, and
I rewrote it to avoid penalizing the non-literally code. Bugs are mine]

Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/grep-help-all-callback-arg'</title>
<updated>2015-04-20T22:28:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-20T22:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7ff140202a2f55b6856f658711e2b99d293c1fd9'/>
<id>urn:sha1:7ff140202a2f55b6856f658711e2b99d293c1fd9</id>
<content type='text'>
Code clean-up.

* ps/grep-help-all-callback-arg:
  grep: correctly initialize help-all option
</content>
</entry>
<entry>
<title>config: fix settings in default_user_config template</title>
<updated>2015-04-17T17:32:46Z</updated>
<author>
<name>Ossi Herrala</name>
<email>oherrala@gmail.com</email>
</author>
<published>2015-04-17T14:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e1105244202d01ddf1de990f215418b01281bcf'/>
<id>urn:sha1:7e1105244202d01ddf1de990f215418b01281bcf</id>
<content type='text'>
The name (not user) and email setting should be in config section
"user" and not in "core" as documented in Documentation/config.txt.

Signed-off-by: Ossi Herrala &lt;oherrala@gmail.com&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "merge: pass verbosity flag down to merge-recursive"</title>
<updated>2015-04-16T15:03:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-16T15:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3d6bc9a763f56156b424e7382b4029a67a49847e'/>
<id>urn:sha1:3d6bc9a763f56156b424e7382b4029a67a49847e</id>
<content type='text'>
This reverts commit 2bf15a3330a26183adc8563dbeeacc11294b8a01, whose
intention was good, but the verbosity levels used in merge-recursive
turns out to be rather uneven.  For example, a merge of two branches
with conflicting submodule updates used to report CONFLICT: output
with --quiet but no longer (which *is* desired), while the final
"Automatic merge failed; fix conflicts and then commit" message is
still shown even with --quiet (which *is* inconsistent).

Originally reported by Bryan Turner; it is too early to declare what
the concensus is, but it seems that we would need to level the
verbosity levels used in merge strategy backends before we can go
forward.  In the meantime, we'd revert to the old behaviour until
that happens.

cf. $gmane/267245
</content>
</entry>
<entry>
<title>Merge branch 'jk/merge-quiet'</title>
<updated>2015-04-14T18:49:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-14T18:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3cdff83fb0519bcfed35bca987c59d3557b1f2a7'/>
<id>urn:sha1:3cdff83fb0519bcfed35bca987c59d3557b1f2a7</id>
<content type='text'>
"git merge --quiet" did not squelch messages from the underlying
merge-recursive strategy.

* jk/merge-quiet:
  merge: pass verbosity flag down to merge-recursive
</content>
</entry>
<entry>
<title>Merge branch 'jc/update-instead-into-void'</title>
<updated>2015-04-14T18:49:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-14T18:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa9aaa8f1051bd7b0cd437a5006898277ec42805'/>
<id>urn:sha1:fa9aaa8f1051bd7b0cd437a5006898277ec42805</id>
<content type='text'>
A push into an unborn branch, with "receive.denyCurrentBranch" set
to "updateInstead", did not check out the working tree as expected.

* jc/update-instead-into-void:
  push-to-deploy: allow pushing into an unborn branch and updating it
</content>
</entry>
</feed>
