Subject: Re: [PATCH v3 20/44] refs-be-files.c: add methods for misc ref operations

From: Michael Haggerty <[email-masked]>
Date: Tue, 13 Oct 2015 09:44:28 +0200

On 10/12/2015 11:51 PM, David Turner wrote:
> From: Ronnie Sahlberg <[email-masked]>
> 
> Add ref backend methods for:
> resolve_ref_unsafe, verify_refname_available, pack_refs, peel_ref,
> create_symref, resolve_gitlink_ref.
> 
> Signed-off-by: Ronnie Sahlberg <[email-masked]>
> Signed-off-by: David Turner <[email-masked]>
> ---
>  builtin/init-db.c |  1 +
>  cache.h           |  7 +++++++
>  refs-be-files.c   | 36 +++++++++++++++++++++++++++---------
>  refs.c            | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  refs.h            | 18 ++++++++++++++++++
>  5 files changed, 100 insertions(+), 9 deletions(-)

This commit doesn't build:

refs-be-files.c:3636:2: error: initialization from incompatible pointer
type [-Werror]
  files_create_symref,
  ^
refs-be-files.c:3636:2: error: (near initialization for
‘refs_be_files.create_symref’) [-Werror]

Apparently one of the hunks from the subsequent commit is needed in this
commit.

Michael

-- 
Michael Haggerty
[email-masked]