On Tue, Feb 27, 2018 at 2:28 AM, Stefan Beller wrote:
> On Mon, Feb 26, 2018 at 1:30 AM, Duy Nguyen wrote:
>> On Fri, Feb 23, 2018 at 04:47:28PM -0800, Stefan Beller wrote:
>>> /* The main repository */
>>> static struct repository the_repo = {
>>> - NULL, NULL, NULL, NULL, NULL, NULL, NULL
On Mon, Feb 26, 2018 at 1:30 AM, Duy Nguyen wrote:
> On Fri, Feb 23, 2018 at 04:47:28PM -0800, Stefan Beller wrote:
>> /* The main repository */
>> static struct repository the_repo = {
>> - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &the_index,
>> &hash_algos[GIT_HASH_SHA1], 0,
On 02/26, Junio C Hamano wrote:
> Duy Nguyen writes:
>
> > diff --git a/common-main.c b/common-main.c
> > index 6a689007e7..a13ab981aa 100644
> > --- a/common-main.c
> > +++ b/common-main.c
> > @@ -1,6 +1,7 @@
> > #include "cache.h"
> > #include "exec_cmd.h"
> > #include "attr.h"
> > +#include
Duy Nguyen writes:
> diff --git a/common-main.c b/common-main.c
> index 6a689007e7..a13ab981aa 100644
> --- a/common-main.c
> +++ b/common-main.c
> @@ -1,6 +1,7 @@
> #include "cache.h"
> #include "exec_cmd.h"
> #include "attr.h"
> +#include "repository.h"
>
> /*
> * Many parts of Git have
On Fri, Feb 23, 2018 at 04:47:28PM -0800, Stefan Beller wrote:
> /* The main repository */
> static struct repository the_repo = {
> - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &the_index,
> &hash_algos[GIT_HASH_SHA1], 0, 0
> + NULL, NULL,
> + RAW_OBJECT_STORE_INIT,
> +
The raw object store field will contain any objects needed for
access to objects in a given repository.
This patch introduces the raw object store and populates it with the
`objectdir`, which used to be part of the repository struct.
As the struct gains members, we'll also populate the function t
6 matches
Mail list logo