From: Junio C Hamano Date: Sun, 17 Feb 2008 07:37:31 GMT Subject: Re: [RFC] checkout to notice forks (Re: Minor annoyance with git push) Message-ID: <7vy79k2fus.fsf@gitster.siamese.dyndns.org> In-Reply-To: Daniel Barkalow 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.