From: Michael Haggerty Date: Wed, 30 Oct 2013 05:32:56 GMT Subject: [PATCH v2 07/23] get_expanded_map(): add docstring Message-ID: <1383111192-23780-8-git-send-email-mhagger@alum.mit.edu> In-Reply-To: <1383111192-23780-1-git-send-email-mhagger@alum.mit.edu> Signed-off-by: Michael Haggerty --- remote.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/remote.c b/remote.c index 9f1a8aa..0d082cd 100644 --- a/remote.c +++ b/remote.c @@ -1553,6 +1553,13 @@ static int ignore_symref_update(const char *refname) return (flag & REF_ISSYMREF); } +/* + * Create and return a list of (struct ref) consisting of copies of + * each remote_ref that matches refspec. refspec must be a pattern. + * Fill in the copies' peer_ref to describe the local tracking refs to + * which they map. Omit any references that would map to an existing + * local symbolic ref. + */ static struct ref *get_expanded_map(const struct ref *remote_refs, const struct refspec *refspec) { -- 1.8.4.1