Re: [RFC] checkout to notice forks (Re: Minor annoyance with git push)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 17, 2008, 07:37 UTC
- Message-ID
- <7vy79k2fus.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LNX.1.00.0802170114440.5496@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> I'm also in part worried about the lack of publicity "struct branch" has > gotten; it would have saved you having to write 64 of 136 lines, so it's > worth you knowing about.
Actually, I initially took a look at branch.h and tried to reuse find_tracked_branch() but then realized it was a wrong interface. The "struct branch" in remote.h (Heh) looks like the right interface.
Documentation/technical/api-*.txt should really talk about what's in remote.c.