Linus Torvalds wrote: > > On Tue, 18 Apr 2006, Linus Torvalds wrote: > >>And I thought we already disallowed ':' in branch names because cogito >>uses them for the strange <rev>:<rev> syntax.. > > > Btw, pathnames with ':' in them aren't a problem. It's only revision > names that can't have ':' in them and still be used together with this > syntax. > > If you have a pathname with ':', it's fine to do > > git cat-file v1.2.4:pathname:with:colon > > because the magic revision parsing only cares about the _first_ colon, and > will split that into "v1.2.4" and "pathname:with:colon" without ever even > looking at the other ones. > Except that you'll have to explicitly state HEAD:pathname:with:colon, or does it try finding a file with the argument verbatim first? -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Apr 19 18:16:55 2006
This archive was generated by hypermail 2.1.8 : 2006-04-19 18:17:17 EST