Re: [RFC] Teach git-branch howto rename a branch
On 11/25/06, Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> "Lars Hjemli" <lh@elementstorage.no> writes:
>
> > Is it ok to put
> >
> > static int log_ref_write(struct ref_lock *lock,
> > const unsigned char *sha1, const char *msg)
> >
> > into refs.h?
>
> I think a cleaner implementation that does not have such a
> layering violation would involve defining rename_refs()
> interface in refs.c, next to the delete_ref() that exists there.
Yes, that looks a lot nicer. I'll give it a try.