1. 17 8月, 2006 2 次提交
  2. 16 8月, 2006 3 次提交
  3. 15 8月, 2006 10 次提交
  4. 11 8月, 2006 1 次提交
  5. 08 8月, 2006 3 次提交
  6. 07 8月, 2006 5 次提交
  7. 06 8月, 2006 10 次提交
  8. 05 8月, 2006 1 次提交
  9. 03 8月, 2006 3 次提交
    • J
      gitweb: do not use @@FOO@@ for replaced tokens · 06c084d2
      Junio C Hamano 提交于
      This makes it easier to run gitweb/gitweb.perl without token substitution.
      Using @@ makes Perl emit "unintended interpolation" warnings.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      06c084d2
    • M
      gitweb: require $ENV{'GITWEB_CONFIG'} · bb55f77f
      Matthias Lederhofer 提交于
      With this patch it is possible to use gitweb.perl for developing by
      loading the configuration from $GITWEB_CONFIG.  This might also be
      useful for normal usage of gitweb.
      
      Example:
      
          % cat cfg
          $GIT = '/usr/bin/git';
          $projectroot = '/home/matled/src/git';
          $projects_list = '/home/matled/src/git/git/gitweb/list';
          % cat run
          #!/bin/sh
          export GATEWAY_INTERFACE="CGI/1.1"
          export HTTP_ACCEPT="*/*"
          export REQUEST_METHOD="GET"
          export GITWEB_CONFIG='./cfg'
          export QUERY_STRING=""$1""
          exec ./gitweb.perl
          % time ./run p=git/.git > /dev/null
      
      This makes it easy to check for warnings and do performance tests
      after changes, you can also pipe this to lynx -dump -force-html
      /dev/stdin to get more than just html.
      
      This also documents the original patch adding require $GITWEB_CONFIG.
      Signed-off-by: NMatthias Lederhofer <matled@gmx.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      bb55f77f
    • J
      gitweb: optionally read config from GITWEB_CONFIG · c8d138a8
      Jeff King 提交于
      Configuration will first be taken from variables inside the gitweb.cgi
      script, which in turn come from the Makefile. Afterwards, the contents of
      GITWEB_CONFIG are read, overriding the builtin defaults.
      
      This should eliminate the need for editing the gitweb script at all. Users
      should edit the Makefile and/or add a config file.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c8d138a8
  10. 02 8月, 2006 2 次提交