Re: [PATCH v7 14/33] refs: add methods to init refs db

2016-03-24 Thread David Turner
On Thu, 2016-03-24 at 08:28 +0100, Michael Haggerty wrote: > > if (shared_repository) { > > adjust_shared_perm(get_git_dir()); > > - adjust_shared_perm(git_path_buf(&buf, "refs")); > > Given that this function is creating the "refs" directory, it seems > like > adjust_sha

Re: [PATCH v7 14/33] refs: add methods to init refs db

2016-03-24 Thread Michael Haggerty
On 03/01/2016 01:52 AM, David Turner wrote: > Alternate refs backends might not need the refs/heads directory and so > on, so we make ref db initialization part of the backend. > > Signed-off-by: David Turner > Signed-off-by: Junio C Hamano > --- > builtin/init-db.c| 20 ++--

[PATCH v7 14/33] refs: add methods to init refs db

2016-02-29 Thread David Turner
Alternate refs backends might not need the refs/heads directory and so on, so we make ref db initialization part of the backend. Signed-off-by: David Turner Signed-off-by: Junio C Hamano --- builtin/init-db.c| 20 ++-- refs.c | 5 + refs.h |