<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, branch v2.2.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.2.1</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-11-06T18:52:32Z</updated>
<entry>
<title>Merge branch 'jk/fetch-reflog-df-conflict'</title>
<updated>2014-11-06T18:52:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-06T18:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a1671dd82b5e1c6e837a3f47509a3a33189b0884'/>
<id>urn:sha1:a1671dd82b5e1c6e837a3f47509a3a33189b0884</id>
<content type='text'>
Corner-case bugfixes for "git fetch" around reflog handling.

* jk/fetch-reflog-df-conflict:
  ignore stale directories when checking reflog existence
  fetch: load all default config at startup
</content>
</entry>
<entry>
<title>fetch: load all default config at startup</title>
<updated>2014-11-04T20:13:46Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-11-04T13:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=72549dfd5d33424fbf557b0078503687780a3a53'/>
<id>urn:sha1:72549dfd5d33424fbf557b0078503687780a3a53</id>
<content type='text'>
When we start the git-fetch program, we call git_config to
load all config, but our callback only processes the
fetch.prune option; we do not chain to git_default_config at
all.

This means that we may not load some core configuration
which will have an effect. For instance, we do not load
core.logAllRefUpdates, which impacts whether or not we
create reflogs in a bare repository.

Note that I said "may" above. It gets even more exciting. If
we have to transfer actual objects as part of the fetch,
then we call fetch_pack as part of the same process. That
function loads its own config, which does chain to
git_default_config, impacting global variables which are
used by the rest of fetch. But if the fetch is a pure ref
update (e.g., a new ref which is a copy of an old one), we
skip fetch_pack entirely. So we get inconsistent results
depending on whether or not we have actual objects to
transfer or not!

Let's just load the core config at the start of fetch, so we
know we have it (we may also load it again as part of
fetch_pack, but that's OK; it's designed to be idempotent).

Our tests check both cases (with and without a pack). We
also check similar behavior for push for good measure, but
it already works as expected.

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 'jc/push-cert'</title>
<updated>2014-10-31T18:49:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-31T18:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1d42cf3c6c578003f35d32cb7b98aa19a96a17c1'/>
<id>urn:sha1:1d42cf3c6c578003f35d32cb7b98aa19a96a17c1</id>
<content type='text'>
* jc/push-cert:
  receive-pack: avoid minor leak in case start_async() fails
</content>
</entry>
<entry>
<title>Merge branch 'jk/prune-mtime'</title>
<updated>2014-10-29T17:07:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-29T17:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d70e331c0e8eaeb0bd75ae3020c3be71de075ff7'/>
<id>urn:sha1:d70e331c0e8eaeb0bd75ae3020c3be71de075ff7</id>
<content type='text'>
Tighten the logic to decide that an unreachable cruft is
sufficiently old by covering corner cases such as an ancient object
becoming reachable and then going unreachable again, in which case
its retention period should be prolonged.

* jk/prune-mtime: (28 commits)
  drop add_object_array_with_mode
  revision: remove definition of unused 'add_object' function
  pack-objects: double-check options before discarding objects
  repack: pack objects mentioned by the index
  pack-objects: use argv_array
  reachable: use revision machinery's --indexed-objects code
  rev-list: add --indexed-objects option
  rev-list: document --reflog option
  t5516: test pushing a tag of an otherwise unreferenced blob
  traverse_commit_list: support pending blobs/trees with paths
  make add_object_array_with_context interface more sane
  write_sha1_file: freshen existing objects
  pack-objects: match prune logic for discarding objects
  pack-objects: refactor unpack-unreachable expiration check
  prune: keep objects reachable from recent objects
  sha1_file: add for_each iterators for loose and packed objects
  count-objects: use for_each_loose_file_in_objdir
  count-objects: do not use xsize_t when counting object size
  prune-packed: use for_each_loose_file_in_objdir
  reachable: mark index blobs as SEEN
  ...
</content>
</entry>
<entry>
<title>receive-pack: avoid minor leak in case start_async() fails</title>
<updated>2014-10-28T21:55:15Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-10-28T20:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5d222c099e38bcf329af544ec42ad3dd0644741c'/>
<id>urn:sha1:5d222c099e38bcf329af544ec42ad3dd0644741c</id>
<content type='text'>
If the asynchronous start of copy_to_sideband() fails, then any
env_array entries added to struct child_process proc by
prepare_push_cert_sha1() are leaked.  Call the latter function only
after start_async() succeeded so that the allocated entries are
cleaned up automatically by start_command() or finish_command().

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 'jc/push-cert'</title>
<updated>2014-10-24T22:01:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T22:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a33043f6393ae2a737f08d4f42d78fb06ba1e107'/>
<id>urn:sha1:a33043f6393ae2a737f08d4f42d78fb06ba1e107</id>
<content type='text'>
* jc/push-cert:
  push: heed user.signingkey for signed pushes
</content>
</entry>
<entry>
<title>Merge branch 'eb/no-pthreads'</title>
<updated>2014-10-24T21:59:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T21:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e4da4fbe0eea55c26f042f76df58bfc529b46ae0'/>
<id>urn:sha1:e4da4fbe0eea55c26f042f76df58bfc529b46ae0</id>
<content type='text'>
Allow us build with NO_PTHREADS=NoThanks compilation option.

* eb/no-pthreads:
  Handle atexit list internaly for unthreaded builds
  pack-objects: set number of threads before checking and warning
  index-pack: fix compilation with NO_PTHREADS
</content>
</entry>
<entry>
<title>Merge branch 'rs/run-command-env-array'</title>
<updated>2014-10-24T21:57:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T21:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=217610d7d61864f24efc0ea837dc911be44fd9c6'/>
<id>urn:sha1:217610d7d61864f24efc0ea837dc911be44fd9c6</id>
<content type='text'>
Add managed "env" array to child_process to clarify the lifetime
rules.

* rs/run-command-env-array:
  use env_array member of struct child_process
  run-command: add env_array, an optional argv_array for env
</content>
</entry>
<entry>
<title>Merge branch 'jk/pack-objects-no-bitmap-when-splitting'</title>
<updated>2014-10-24T21:56:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-24T21:56:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=26a22d8d00e288dd4825f5d5d77d47473bdf3a6b'/>
<id>urn:sha1:26a22d8d00e288dd4825f5d5d77d47473bdf3a6b</id>
<content type='text'>
Splitting pack-objects output into multiple packs is incompatible
with the use of reachability bitmap.

* jk/pack-objects-no-bitmap-when-splitting:
  pack-objects: turn off bitmaps when we split packs
</content>
</entry>
<entry>
<title>push: heed user.signingkey for signed pushes</title>
<updated>2014-10-24T17:50:05Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2014-10-22T14:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b9459019bbb7b864cf59fa307953834996ab4dbe'/>
<id>urn:sha1:b9459019bbb7b864cf59fa307953834996ab4dbe</id>
<content type='text'>
push --signed promises to take user.signingkey as the signing key but
fails to read the config.

Make it do so.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
