<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/pull.c, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-13T21:28:54Z</updated>
<entry>
<title>Merge branch 'bc/hash-algo'</title>
<updated>2017-12-13T21:28:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-12-13T21:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=721cc4314cb593e799213ad5f926a1e9fc5779b0'/>
<id>urn:sha1:721cc4314cb593e799213ad5f926a1e9fc5779b0</id>
<content type='text'>
An infrastructure to define what hash function is used in Git is
introduced, and an effort to plumb that throughout various
codepaths has been started.

* bc/hash-algo:
  repository: fix a sparse 'using integer as NULL pointer' warning
  Switch empty tree and blob lookups to use hash abstraction
  Integrate hash algorithm support with repo setup
  Add structure representing hash algorithm
  setup: expose enumerated repo info
</content>
</entry>
<entry>
<title>Merge branch 'sw/pull-ipv46-passthru'</title>
<updated>2017-11-27T02:06:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-27T02:06:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c2b6135a1b52a567c92286bb1d3345b6cb0db584'/>
<id>urn:sha1:c2b6135a1b52a567c92286bb1d3345b6cb0db584</id>
<content type='text'>
Contrary to the documentation, "git pull -4/-6 other-args" did not
ask the underlying "git fetch" to go over IPv4/IPv6, which has been
corrected.

* sw/pull-ipv46-passthru:
  pull: pass -4/-6 option to 'git fetch'
</content>
</entry>
<entry>
<title>pull: pass -4/-6 option to 'git fetch'</title>
<updated>2017-11-21T00:53:48Z</updated>
<author>
<name>Shuyu Wei</name>
<email>wsy@dogben.com</email>
</author>
<published>2017-11-19T11:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ffb4568afed7c3eaa20b000683bb82a761d8f717'/>
<id>urn:sha1:ffb4568afed7c3eaa20b000683bb82a761d8f717</id>
<content type='text'>
The -4/-6 option should be passed through to 'git fetch' to be
consistent with the man page.

Signed-off-by: Wei Shuyu &lt;wsy@dogben.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ma/reduce-heads-leakfix'</title>
<updated>2017-11-15T03:14:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-15T03:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=905f16dd02bb15e0c1e12bf1a6c28510f504f441'/>
<id>urn:sha1:905f16dd02bb15e0c1e12bf1a6c28510f504f441</id>
<content type='text'>
Leak fixes.

* ma/reduce-heads-leakfix:
  reduce_heads: fix memory leaks
  builtin/merge-base: free commit lists
</content>
</entry>
<entry>
<title>Switch empty tree and blob lookups to use hash abstraction</title>
<updated>2017-11-13T04:20:44Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-11-12T21:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eb0ccfd7f5ce1765ada74abf272f002e1e34d1e4'/>
<id>urn:sha1:eb0ccfd7f5ce1765ada74abf272f002e1e34d1e4</id>
<content type='text'>
Switch the uses of empty_tree_oid and empty_blob_oid to use the
current_hash abstraction that represents the current hash algorithm in
use.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reduce_heads: fix memory leaks</title>
<updated>2017-11-08T02:34:00Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2017-11-07T20:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4da72644b768b0491110a8ba0aa84d32b6bde41c'/>
<id>urn:sha1:4da72644b768b0491110a8ba0aa84d32b6bde41c</id>
<content type='text'>
We currently have seven callers of `reduce_heads(foo)`. Six of them do
not use the original list `foo` again, and actually, all six of those
end up leaking it.

Introduce and use `reduce_heads_replace(&amp;foo)` as a leak-free version of
`foo = reduce_heads(foo)` to fix several of these. Fix the remaining
leaks using `free_commit_list()`.

While we're here, document `reduce_heads()` and mark it as `extern`.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/object-id'</title>
<updated>2017-11-06T05:24:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-06T05:24:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e7e456f5007f30997e48dec57a1fc09b6b0f071e'/>
<id>urn:sha1:e7e456f5007f30997e48dec57a1fc09b6b0f071e</id>
<content type='text'>
Conversion from uchar[20] to struct object_id continues.

* bc/object-id: (25 commits)
  refs/files-backend: convert static functions to object_id
  refs: convert read_raw_ref backends to struct object_id
  refs: convert peel_object to struct object_id
  refs: convert resolve_ref_unsafe to struct object_id
  worktree: convert struct worktree to object_id
  refs: convert resolve_gitlink_ref to struct object_id
  Convert remaining callers of resolve_gitlink_ref to object_id
  sha1_file: convert index_path and index_fd to struct object_id
  refs: convert reflog_expire parameter to struct object_id
  refs: convert read_ref_at to struct object_id
  refs: convert peel_ref to struct object_id
  builtin/pack-objects: convert to struct object_id
  pack-bitmap: convert traverse_bitmap_commit_list to object_id
  refs: convert dwim_log to struct object_id
  builtin/reflog: convert remaining unsigned char uses to object_id
  refs: convert dwim_ref and expand_ref to struct object_id
  refs: convert read_ref and read_ref_full to object_id
  refs: convert resolve_refdup and refs_resolve_refdup to struct object_id
  Convert check_connected to use struct object_id
  refs: update ref transactions to use struct object_id
  ...
</content>
</entry>
<entry>
<title>refs: convert update_ref and refs_update_ref to use struct object_id</title>
<updated>2017-10-16T02:05:50Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-10-15T22:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae077771b09fac4d663e3f8c039318a97eb3a15b'/>
<id>urn:sha1:ae077771b09fac4d663e3f8c039318a97eb3a15b</id>
<content type='text'>
Convert update_ref, refs_update_ref, and write_pseudoref to use struct
object_id.  Update the existing callers as well.  Remove update_ref_oid,
as it is no longer needed.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: pass --signoff/--no-signoff to "git merge"</title>
<updated>2017-10-13T01:47:36Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2017-10-12T18:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a4d2c743750dbc3c8165f362c0a3c0d1c775c8a'/>
<id>urn:sha1:3a4d2c743750dbc3c8165f362c0a3c0d1c775c8a</id>
<content type='text'>
merge can take --signoff, but without pull passing --signoff down, it
is inconvenient to use; allow 'pull' to take the option and pass it
through.

The order of options in merge-options.txt is mostly alphabetical by
long option since 7c85d274 (Documentation/merge-options.txt: order
options in alphabetical groups, 2009-10-22).  The long-option bit
didn't make it into the commit message, but it's under the fold in
[1].  I've put --signoff between --log and --stat to preserve the
alphabetical order.

[1]: https://public-inbox.org/git/87iqe7zspn.fsf@jondo.cante.net/

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: honor submodule.recurse config option</title>
<updated>2017-09-07T00:52:18Z</updated>
<author>
<name>Nicolas Morey-Chaisemartin</name>
<email>nicolas@morey-chaisemartin.com</email>
</author>
<published>2017-09-06T06:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=121e43fa53ca6d874aa3e5a7664c9b769f2cbfa6'/>
<id>urn:sha1:121e43fa53ca6d874aa3e5a7664c9b769f2cbfa6</id>
<content type='text'>
"git pull" supports a --recurse-submodules option but does not parse the
submodule.recurse configuration item to set the default for that option.
Meanwhile "git fetch" does support submodule.recurse, producing
confusing behavior: when submodule.recurse is enabled, "git pull"
recursively fetches submodules but does not update them after fetch.

Handle submodule.recurse in "git pull" to fix this.

Reported-by: Magnus Homann &lt;magnus@homann.se&gt;
Signed-off-by: Nicolas Morey-Chaisemartin &lt;nicolas@morey-chaisemartin.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
