git/refs
Stefan Beller 109cd76dd3 object: add repository argument to parse_object
Add a repository argument to allow the callers of parse_object
to be more specific about which repository to act on. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.

As with the previous commits, use a macro to catch callers passing a
repository other than the_repository at compile time.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-06-29 10:43:38 -07:00
..
files-backend.c object: add repository argument to parse_object 2018-06-29 10:43:38 -07:00
iterator.c Replace all die("BUG: ...") calls by BUG() ones 2018-05-06 19:06:13 +09:00
packed-backend.c refs/packed-backend.c: close fd of empty file 2018-06-01 10:49:53 +09:00
packed-backend.h files-backend: don't rewrite the `packed-refs` file unnecessarily 2017-10-30 09:45:15 +09:00
ref-cache.c Replace all die("BUG: ...") calls by BUG() ones 2018-05-06 19:06:13 +09:00
ref-cache.h
refs-internal.h refs: update some more docs to use "oid" rather than "sha1" 2017-11-06 10:31:08 +09:00