Thread (115 messages) flat view 115 messages, 7 authors, 2018-02-27

Re: [PATCH 16/27] sha1_file: add repository argument to sha1_file_name

From: Brandon Williams <hidden>
Date: 2018-02-22 00:51:57

Possibly related (same subject, not in this thread)

On 02/20, Stefan Beller wrote:
Add a repository argument to allow sha1_file_name callers to be more
specific about which repository to handle. 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.

While at it, move the declaration to object-store.h, where it should
be easier to find.
Seems like we may want to make a sha1-file.h or an oid-file.h or
something like that at some point as that seems like a better place for
the function than in the object-store.h file?


-- 
Brandon Williams
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help