On Friday 2006 December 22 08:21, Junio C Hamano wrote: > Heh, sounds like you spotted a bug -- patches welcome (or I'll > fix it myself if I get around to it before everybody else). > Thanks. I can't reproduce this bug. I tried having an identically named branch in both remotes and heads. Output was fine. I don't like to say "impossible", but it certainly seems that This from append_ref(): } else if (!strncmp(refname, "refs/remotes/", 13)) { kind = REF_REMOTE_BRANCH; and this from print_ref_list(): if (ref_list.list[i].kind == REF_LOCAL_BRANCH && !strcmp(ref_list.list[i].name, head)) { c = '*'; Make it almost inconceivable that a remote branch is being starred, or that a local branch is making it into the "-r" output. Alan: could you show a tree of your .git/refs/heads and your .git/refs/remotes for the repository that is displaying this error? Andy -- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@xxxxxxxxx - 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