On Fri, Nov 4, 2011 at 2:12 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > > If we really wanted to go this route, the attached single-liner should be > sufficient for the DWIMmery. My first reaction on reading the patch was "maybe it would be safer to put the tags case after 'branches', so that the behavior in the presense of ambiguity would stay the same as with the old case", but thinking it through I think it's more important to be consistent with the other lookups, which all prefer tags over branches when ambiguous. So Ack, patch looks sane to me, and clearly makes it easier to fetch tags individually. Linus -- 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