On Thursday 15 November 2007 07:53, Steffen Prohaska wrote: > Now I'm wondering if we could make path relocation a bit more > explicit. How about doing something like. > > system_wide = relocate_path(ETC_GITCONFIG); > > and relocate_path(const char *) would expand a format > string in path. At this point I see only a single %s > that would be expanded with the install prefix. If > ETC_GITCONFIG is "%s/etc/gitconfig" relocate path will return > "C:/msysgit/bin/etc/gitconfig" for my above example. It is > basically a printf with the install prefix path. I don't see the problem that you are trying to solve. -- Hannes - 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