]> git.ipfire.org Git - thirdparty/git.git/commit - object-store.h
replace-object: move replace_map to object store
authorStefan Beller <sbeller@google.com>
Thu, 12 Apr 2018 00:21:05 +0000 (17:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Apr 2018 02:38:56 +0000 (11:38 +0900)
commitd88f9fdf8b2ccf65993bb977094ab9b2249635ee
treef3375d0cd21b83cce26f95557edf89c52438dd23
parentf37b9bc00ca3cb9a22c4d5da564eb271ba13c109
replace-object: move replace_map to object store

The relationship between an object X and another object Y that
replaces the object X is defined only within the scope of a
single repository.

The exception in reachability rule around these replacement objects
is also local to a repository (i.e. if traversal from refs reaches
X, then both X and Y are reachable and need to be kept from gc).

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-store.h
replace-object.h [new file with mode: 0644]
replace_object.c