{"push_id":1939924059,"size":122,"distinct_size":19,"ref":"refs/heads/jk/metapacks-wip","head":"4055175858d533533dab2e7ea67db208d0c2a6e0","before":"d75f95bf85eb3c3b664767e59992c3474f7c5d1d","commits":[{"sha":"74195c69adb922b32a93d5885004337c892e9bc3","author":{"name":"Junio C Hamano","email":"3228067b6039a0d99bddaf967dafdecd5cc61600@pobox.com"},"message":"t1408: add a test of stale packed refs covered by loose refs\n\nIt is OK for the packed-refs file to contain old reference definitions\nthat might even refer to objects that have since been\ngarbage-collected, as long as there is a corresponding loose reference\ndefinition that overrides it. Add a test that such references don't\ncause problems.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/74195c69adb922b32a93d5885004337c892e9bc3"},{"sha":"2f108821666a968940f171d52d4d0745a3002b35","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"add_packed_ref(): teach function to overwrite existing refs\n\nTeach `add_packed_ref()` to overwrite an existing entry if one already\nexists for the specified `refname`. This means that we can call it\nfrom `files_pack_refs()`, thereby reducing the amount that the latter\nfunction needs to know about the internals of packed-reference\nhandling.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/2f108821666a968940f171d52d4d0745a3002b35"},{"sha":"bdf55fa6b23b14ac8726fc29182739762b8f6011","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_ref_store: new struct\n\nStart extracting the packed-refs-related data structures into a new\nclass, `packed_ref_store`. It doesn't yet implement `ref_store`, but\nit will.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/bdf55fa6b23b14ac8726fc29182739762b8f6011"},{"sha":"e0d483970b0d666be7bbb74ee0bbf6d8baf7a0ea","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_ref_store: move `packed_refs_path` here\n\nMove `packed_refs_path` from `files_ref_store` to `packed_ref_store`,\nand rename it to `path` since its meaning is clear from its new\ncontext.\n\nInline `files_packed_refs_path()`.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/e0d483970b0d666be7bbb74ee0bbf6d8baf7a0ea"},{"sha":"139c4596ad6fc1585574f27fde6dea28ab1d3a54","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_ref_store: move `packed_refs_lock` member here\n\nMove the `packed_refs_lock` member from `files_ref_store` to\n`packed_ref_store`, and rename it to `lock` since it's now more\nobvious what it is locking.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/139c4596ad6fc1585574f27fde6dea28ab1d3a54"},{"sha":"9c4fe0ff95a2d6245f6f0e52988d59f4131293b4","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"clear_packed_ref_cache(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/9c4fe0ff95a2d6245f6f0e52988d59f4131293b4"},{"sha":"25e0c5faf2628e3701b1b9b783c3ca4a5653ec4d","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"validate_packed_ref_cache(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/25e0c5faf2628e3701b1b9b783c3ca4a5653ec4d"},{"sha":"8e821c38f76c49e0e679c8d79c0b150d18aba155","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"get_packed_ref_cache(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/8e821c38f76c49e0e679c8d79c0b150d18aba155"},{"sha":"a9169f5dc2ca4ed1059d9733661058f9e5311724","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"get_packed_refs(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/a9169f5dc2ca4ed1059d9733661058f9e5311724"},{"sha":"e70b70294e7010c6281766b5229fb811df193870","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"add_packed_ref(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/e70b70294e7010c6281766b5229fb811df193870"},{"sha":"f512f0f32ced4832776ff78f5026ae87bf65f454","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"lock_packed_refs(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/f512f0f32ced4832776ff78f5026ae87bf65f454"},{"sha":"cf30b3e88b0551f67ff4e0b8c35aedf6b03c41d7","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"commit_packed_refs(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/cf30b3e88b0551f67ff4e0b8c35aedf6b03c41d7"},{"sha":"38e3fe6decfb7c32eb08a58b192c428c18180508","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"rollback_packed_refs(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/38e3fe6decfb7c32eb08a58b192c428c18180508"},{"sha":"f3f97249402b74fd4cd3d0b008e0de2e14cd5b63","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"get_packed_ref(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/f3f97249402b74fd4cd3d0b008e0de2e14cd5b63"},{"sha":"0f199b1ee051e3e6854268841335287c3ad94b88","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"repack_without_refs(): take a `packed_ref_store *` parameter\n\nIt only cares about the packed-refs part of the reference store.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/0f199b1ee051e3e6854268841335287c3ad94b88"},{"sha":"6dc6ba7092423dfd5b94b9dcb649f2905d456d94","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_peel_ref(): new function, extracted from `files_peel_ref()`\n\nThis will later become a method of `packed_ref_store`.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/6dc6ba7092423dfd5b94b9dcb649f2905d456d94"},{"sha":"38b86e81ae9d3fff3ce300e867f6cd2d1732c998","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_ref_store: support iteration\n\nAdd the infrastructure to iterate over a `packed_ref_store`. It's a\nlot of boilerplate, but it's all part of a campaign to make\n`packed_ref_store` implement `ref_store`. In the future, this iterator\nwill work much differently.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/38b86e81ae9d3fff3ce300e867f6cd2d1732c998"},{"sha":"d13fa1a9ba494fbf0e4c362ebe1f60ff464a8f43","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_read_raw_ref(): new function, replacing `resolve_packed_ref()`\n\nAdd a new function, `packed_read_raw_ref()`, which is nearly a\n`read_raw_ref_fn`. Use it in place of `resolve_packed_ref()`.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/d13fa1a9ba494fbf0e4c362ebe1f60ff464a8f43"},{"sha":"67be7c5a593da8905added96723448d28b4a1812","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed-backend: new module for handling packed references\n\nNow that the interface between `files_ref_store` and\n`packed_ref_store` is relatively narrow, move the latter into a new\nmodule, \"refs/packed-backend.h\" and \"refs/packed-backend.c\". It still\ndoesn't quite implement the `ref_store` interface, but it will soon.\n\nThis commit moves code around and adjusts its visibility, but doesn't\nchange anything.\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/67be7c5a593da8905added96723448d28b4a1812"},{"sha":"e0cc8ac8202f7d6a721cc87fd5346a6c7f453302","author":{"name":"Michael Haggerty","email":"63ccb4d9e500fc508c7d045328459e7f9a66afd1@alum.mit.edu"},"message":"packed_ref_store: make class into a subclass of `ref_store`\n\nAdd the infrastructure to make `packed_ref_store` implement\n`ref_store`, at least formally (few of the methods are actually\nimplemented yet). Change the functions in its interface to take\n`ref_store *` arguments. Change `files_ref_store` to store a pointer\nto `ref_store *` and to call functions via the virtual `ref_store`\ninterface where possible. This also means that a few\n`packed_ref_store` functions can become static.\n\nThis is a work in progress. Some more `ref_store` methods will soon be\nimplemented (e.g., those having to do with reference transactions).\nBut some of them will never be implemented (e.g., those having to do\nwith symrefs or reflogs).\n\nSigned-off-by: Michael Haggerty <mhagger@alum.mit.edu>\nSigned-off-by: Junio C Hamano <gitster@pobox.com>","distinct":false,"url":"https://api.github.com/repos/peff/git/commits/e0cc8ac8202f7d6a721cc87fd5346a6c7f453302"}]}
{"actor":{"display_login":"peff"}}