<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/config.c, branch v2.0.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-07-22T17:25:17Z</updated>
<entry>
<title>Merge branch 'bg/xcalloc-nmemb-then-size' into maint</title>
<updated>2014-07-22T17:25:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-22T17:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cfececfe1ff1554783030a6f08b431ad50263800'/>
<id>urn:sha1:cfececfe1ff1554783030a6f08b431ad50263800</id>
<content type='text'>
* bg/xcalloc-nmemb-then-size:
  transport-helper.c: rearrange xcalloc arguments
  remote.c: rearrange xcalloc arguments
  reflog-walk.c: rearrange xcalloc arguments
  pack-revindex.c: rearrange xcalloc arguments
  notes.c: rearrange xcalloc arguments
  imap-send.c: rearrange xcalloc arguments
  http-push.c: rearrange xcalloc arguments
  diff.c: rearrange xcalloc arguments
  config.c: rearrange xcalloc arguments
  commit.c: rearrange xcalloc arguments
  builtin/remote.c: rearrange xcalloc arguments
  builtin/ls-remote.c: rearrange xcalloc arguments
</content>
</entry>
<entry>
<title>Merge branch 'ow/config-mailmap-pathname' into maint</title>
<updated>2014-06-25T18:45:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-25T18:45:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fbfdf13b5c0f168bbb292454d8099ca49dd7dbd6'/>
<id>urn:sha1:fbfdf13b5c0f168bbb292454d8099ca49dd7dbd6</id>
<content type='text'>
The "mailmap.file" configuration option did not support the tilde
expansion (i.e. ~user/path and ~/path).

* ow/config-mailmap-pathname:
  config: respect '~' and '~user' in mailmap.file
</content>
</entry>
<entry>
<title>config.c: rearrange xcalloc arguments</title>
<updated>2014-05-27T21:00:44Z</updated>
<author>
<name>Brian Gesiak</name>
<email>modocache@gmail.com</email>
</author>
<published>2014-05-26T15:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1064f6bc897fe35830c2ecee08f8dd27caf763c'/>
<id>urn:sha1:f1064f6bc897fe35830c2ecee08f8dd27caf763c</id>
<content type='text'>
xcalloc() takes two arguments: the number of elements and their size.
config.c includes several calls to xcalloc() that pass the arguments
in reverse order: the size of a struct lock_file*, followed by the
number to allocate.

Rearrange them so they are in the correct order.

Signed-off-by: Brian Gesiak &lt;modocache@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>config: respect '~' and '~user' in mailmap.file</title>
<updated>2014-05-27T19:59:32Z</updated>
<author>
<name>Øystein Walle</name>
<email>oystwa@gmail.com</email>
</author>
<published>2014-05-27T08:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9352fd570876ea0faf9f12251ecea06954fbe59b'/>
<id>urn:sha1:9352fd570876ea0faf9f12251ecea06954fbe59b</id>
<content type='text'>
git_config_string() does not handle '~' and '~user' as part of the
value. Using git_config_pathname() fixes this.

Signed-off-by: Øystein Walle &lt;oystwa@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>Merge branch 'jk/config-die-bad-number-noreturn'</title>
<updated>2014-04-18T18:17:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-18T18:17:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=531675ad172f984a6dbc2ac840caaf6ba1015eb0'/>
<id>urn:sha1:531675ad172f984a6dbc2ac840caaf6ba1015eb0</id>
<content type='text'>
Squelch a false compiler warning from older gcc.

* jk/config-die-bad-number-noreturn:
  config.c: mark die_bad_number as NORETURN
</content>
</entry>
<entry>
<title>config.c: mark die_bad_number as NORETURN</title>
<updated>2014-04-16T17:21:14Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-04-16T16:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=06bdc23b7e5b20ab06bf0feb3d463d032978992f'/>
<id>urn:sha1:06bdc23b7e5b20ab06bf0feb3d463d032978992f</id>
<content type='text'>
This can help avoid -Wuninitialized false positives in
git_config_int and git_config_ulong, as the compiler now
knows that we do not return "ret" if we hit the error
codepath.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/config-path-include-fix' into maint</title>
<updated>2014-03-18T21:00:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-18T21:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6f0166771aadeb069b8952255414d67b643db1bf'/>
<id>urn:sha1:6f0166771aadeb069b8952255414d67b643db1bf</id>
<content type='text'>
include.path variable (or any variable that expects a path that can
use ~username expansion) in the configuration file is not a boolean,
but the code failed to check it.

* jk/config-path-include-fix:
  handle_path_include: don't look at NULL value
  expand_user_path: do not look at NULL path
</content>
</entry>
<entry>
<title>Merge branch 'ks/config-file-stdin'</title>
<updated>2014-03-14T21:24:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-14T21:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08f36302b5d04cf06a35acc91689b0278cbf6a73'/>
<id>urn:sha1:08f36302b5d04cf06a35acc91689b0278cbf6a73</id>
<content type='text'>
"git config" learned to read from the standard input when "-" is
given as the value to its "--file" parameter (attempting an
operation to update the configuration in the standard input of
course is rejected).

* ks/config-file-stdin:
  config: teach "git config --file -" to read from the standard input
  config: change git_config_with_options() interface
  builtin/config.c: rename check_blob_write() -&gt; check_write()
  config: disallow relative include paths from blobs
</content>
</entry>
<entry>
<title>Merge branch 'jc/core-checkstat-2.0'</title>
<updated>2014-03-07T23:16:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-07T23:16:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b4a888069b65ab7a6b6291a15ee044705222334'/>
<id>urn:sha1:2b4a888069b65ab7a6b6291a15ee044705222334</id>
<content type='text'>
"core.statinfo" configuration variable, which was a never-advertised
synonym to "core.checkstat", has been removed.
</content>
</entry>
<entry>
<title>Merge branch 'jk/config-path-include-fix'</title>
<updated>2014-02-27T22:01:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-02-27T22:01:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfef492d769cbea25c3cd951fe452be85402b160'/>
<id>urn:sha1:bfef492d769cbea25c3cd951fe452be85402b160</id>
<content type='text'>
include.path variable (or any variable that expects a path that can
use ~username expansion) in the configuration file is not a
boolean, but the code failed to check it.

* jk/config-path-include-fix:
  handle_path_include: don't look at NULL value
  expand_user_path: do not look at NULL path
</content>
</entry>
</feed>
