On Fri, Mar 31, 2017 at 9:11 PM, Michael Haggerty <[email protected]> wrote:
> Instead of keeping a pointer to the ref_store in every ref_dir entry,
> store it once in `struct ref_cache`, and change `struct ref_dir` to
> include a pointer to its containing `ref_cache` instead. This makes it
> easier to add to the information that is accessible from a `ref_dir`
> without increasing the size of every `ref_dir` instance.
...
> @@ -526,7 +526,7 @@ static struct ref_dir *get_loose_refs(struct 
> files_ref_store *refs)
>                  * lazily):
>                  */
>                 add_entry_to_dir(get_ref_dir(refs->loose->root),
> -                                create_dir_entry(refs, "refs/", 5, 1));
> +                                create_dir_entry(refs->loose, "refs/", 5, 
> 1));

The commit message mentions nothing about this change. Is it intended?
-- 
Duy

Reply via email to