<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/refs.h, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-04-17T04:32:45Z</updated>
<entry>
<title>refs_verify_refname_available(): implement once for all backends</title>
<updated>2017-04-17T04:32:45Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2017-04-16T06:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b05855b5bcaf07fe8a636e621bd9d12d51963b5a'/>
<id>urn:sha1:b05855b5bcaf07fe8a636e621bd9d12d51963b5a</id>
<content type='text'>
It turns out that we can now implement
`refs_verify_refname_available()` based on the other virtual
functions, so there is no need for it to be defined at the backend
level. Instead, define it once in `refs.c` and remove the
`files_backend` definition.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.h: add a note about sorting order of for_each_ref_*</title>
<updated>2017-04-14T10:53:25Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=adac8115a6e7f9841c48e4fe48b74e0ce652ef58'/>
<id>urn:sha1:adac8115a6e7f9841c48e4fe48b74e0ce652ef58</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: delete pack_refs() in favor of refs_pack_refs()</title>
<updated>2017-04-14T10:53:25Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4'/>
<id>urn:sha1:7c744782abdc0c6fdf0fd4eae2a790ea2631f1c4</id>
<content type='text'>
It only has one caller, not worth keeping just for convenience.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: new transaction related ref-store api</title>
<updated>2017-04-14T10:53:25Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c0fe4e8ba3db828079f1288169a94294e713b3d8'/>
<id>urn:sha1:c0fe4e8ba3db828079f1288169a94294e713b3d8</id>
<content type='text'>
The transaction struct now takes a ref store at creation and will
operate on that ref store alone.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: add new ref-store api</title>
<updated>2017-04-14T10:53:25Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7d2df051d05bc65a0a540ba080f07b421b4d99d7'/>
<id>urn:sha1:7d2df051d05bc65a0a540ba080f07b421b4d99d7</id>
<content type='text'>
This is not meant to cover all existing API. It adds enough to test ref
stores with the new test program test-ref-store, coming soon and to be
used by files-backend.c.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs: rename get_ref_store() to get_submodule_ref_store() and make it public</title>
<updated>2017-04-14T10:53:25Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=18d0002d6ddc191454b6b4a99cdac65fc7ff9ece'/>
<id>urn:sha1:18d0002d6ddc191454b6b4a99cdac65fc7ff9ece</id>
<content type='text'>
This function is intended to replace *_submodule() refs API. It provides
a ref store for a specific submodule, which can be operated on by a new
set of refs API.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: make get_main_ref_store() public and use it</title>
<updated>2017-03-27T17:23:39Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-26T02:42:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=077be78d7ff0d44cab311da315b2f8dbd2a0d57b'/>
<id>urn:sha1:077be78d7ff0d44cab311da315b2f8dbd2a0d57b</id>
<content type='text'>
get_ref_store() will soon be renamed to get_submodule_ref_store().
Together with future get_worktree_ref_store(), the three functions
provide an appropriate ref store for different operation modes. New APIs
will be added to operate directly on ref stores.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.h: add forward declaration for structs used in this file</title>
<updated>2017-03-18T17:32:22Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-03-18T02:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=504c4d42db8f597b2d151b8b52321cd6130b5363'/>
<id>urn:sha1:504c4d42db8f597b2d151b8b52321cd6130b5363</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@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-03-17T20:50:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-03-17T20:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1fae930193b3e8ff02cee936605625f63e1d1e4'/>
<id>urn:sha1:e1fae930193b3e8ff02cee936605625f63e1d1e4</id>
<content type='text'>
"uchar [40]" to "struct object_id" conversion continues.

* bc/object-id:
  wt-status: convert to struct object_id
  builtin/merge-base: convert to struct object_id
  Convert object iteration callbacks to struct object_id
  sha1_file: introduce an nth_packed_object_oid function
  refs: simplify parsing of reflog entries
  refs: convert each_reflog_ent_fn to struct object_id
  reflog-walk: convert struct reflog_info to struct object_id
  builtin/replace: convert to struct object_id
  Convert remaining callers of resolve_refdup to object_id
  builtin/merge: convert to struct object_id
  builtin/clone: convert to struct object_id
  builtin/branch: convert to struct object_id
  builtin/grep: convert to struct object_id
  builtin/fmt-merge-message: convert to struct object_id
  builtin/fast-export: convert to struct object_id
  builtin/describe: convert to struct object_id
  builtin/diff-tree: convert to struct object_id
  builtin/commit: convert to struct object_id
  hex: introduce parse_oid_hex
</content>
</entry>
<entry>
<title>refs: convert each_reflog_ent_fn to struct object_id</title>
<updated>2017-02-22T18:12:15Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2017-02-21T23:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9461d27240c158cf781ce706a077663050179b14'/>
<id>urn:sha1:9461d27240c158cf781ce706a077663050179b14</id>
<content type='text'>
Make each_reflog_ent_fn take two struct object_id pointers instead of
two pointers to unsigned char.  Convert the various callbacks to use
struct object_id as well.  Also, rename fsck_handle_reflog_sha1 to
fsck_handle_reflog_oid.

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>
