Re: [RFC] Teach git-branch howto rename a branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/25/06, Junio C Hamano <junkio@xxxxxxx> wrote:
"Lars Hjemli" <lh@xxxxxxxxxxxxxxxxx> 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.

--
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]