On Wed, Oct 11, 2006 at 10:22:28PM +0200, Petr Baudis wrote: > +our $site_name = "++GITWEB_SITENAME++" || "$ENV{'SERVER_NAME'} Git" || "Untitled Git"; This will never show "Untitled" (instead it shows " Git") and will cause a perl warning if $ENV{SERVER_NAME} is not defined and warnings are enabled (which tye are in gitweb). I think this is what you want: our $site_name = "++GITWEB_SITENAME++" || ($ENV{SERVER_NAME} || "Untitled") . " Git"; -Peff - 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