1. 10 10月, 2006 1 次提交
  2. 05 10月, 2006 1 次提交
  3. 02 10月, 2006 1 次提交
  4. 30 9月, 2006 1 次提交
  5. 28 9月, 2006 1 次提交
    • J
      Cleaned up git-daemon virtual hosting support. · dd467629
      Jon Loeliger 提交于
      Standardized on lowercase hostnames from client.
      
      Added interpolation values for the IP address, port and
      canonical hostname of the server as it is contacted and
      named by the client and passed in via the extended args.
      
      Added --listen=host_or_ipaddr option suport.  Renamed port
      variable as "listen_port" correspondingly as well.
      
      Documented mutual exclusivity of --inetd option with
          --user, --group, --listen and --port options.
      
      Added compat/inet_pton.c from Paul Vixie as needed.
      
      Small memory leaks need to be cleaned up still.
      Signed-off-by: NJon Loeliger <jdl@jdl.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      dd467629
  6. 25 9月, 2006 3 次提交
  7. 24 9月, 2006 2 次提交
  8. 21 9月, 2006 2 次提交
    • J
      Add virtualization support to git-daemon · 49ba83fb
      Jon Loeliger 提交于
      Signed-off-by: Jon Loeliger
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      49ba83fb
    • J
      builtin-grep: make pieces of it available as library. · 83b5d2f5
      Junio C Hamano 提交于
      This makes three functions and associated option structures from
      builtin-grep available from other parts of the system.
      
       * options to drive built-in grep engine is stored in struct
         grep_opt;
      
       * pattern strings and extended grep expressions are added to
         struct grep_opt with append_grep_pattern();
      
       * when finished calling append_grep_pattern(), call
         compile_grep_patterns() to prepare for execution;
      
       * call grep_buffer() to find matches in the in-core buffer.
      
      This also adds an internal option "status_only" to grep_opt,
      which suppresses any output from grep_buffer().  Callers of the
      function as library can use it to check if there is a match
      without producing any output.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      83b5d2f5
  9. 17 9月, 2006 1 次提交
    • M
      gitweb: export options · 32f4aacc
      Matthias Lederhofer 提交于
      $export_ok: If this variable evaluates to true it is checked
      if a file with this name exists in the repository.  If it
      does not exist the repository cannot be viewed from gitweb.
      (Similar to git-daemon-export-ok for git-daemon).
      
      $strict_export: If this variable evaluates to true only
      repositories listed on the project-list-page of gitweb can
      be accessed.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      32f4aacc
  10. 11 9月, 2006 1 次提交
  11. 10 9月, 2006 2 次提交
    • F
      Add git-upload-archive · 39345a21
      Franck Bui-Huu 提交于
      This command implements the git archive protocol on the server
      side. This command is not intended to be used by the end user.
      Underlying git-archive command line options are sent over the
      protocol from "git-archive --remote=...", just like upload-tar
      currently does with "git-tar-tree=...".
      
      As for "git-archive" command implementation, this new command
      does not execute any existing "git-{tar,zip}-tree" but rely
      on the archive API defined by "git-archive" patch. Hence we
      get 2 good points:
      
       - "git-archive" and "git-upload-archive" share all option
         parsing code.
      
       - All kind of git-upload-{tar,zip} can be deprecated.
      Signed-off-by: NFranck Bui-Huu <vagabon.xyz@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      39345a21
    • F
      Add git-archive · 4df096a5
      Franck Bui-Huu 提交于
      git-archive is a command to make TAR and ZIP archives of a git tree.
      It helps prevent a proliferation of git-{format}-tree commands.
      
      Instead of directly calling git-{tar,zip}-tree command, it defines
      a very simple API, that archiver should implement and register in
      "git-archive.c". This API is made up by 2 functions whose prototype
      is defined in "archive.h" file.
      
       - The first one is used to parse 'extra' parameters which have
         signification only for the specific archiver. That would allow
         different archive backends to have different kind of options.
      
       - The second one is used to ask to an archive backend to build
         the archive given some already resolved parameters.
      
      The main reason for making this API is to avoid using
      git-{tar,zip}-tree commands, hence making them useless. Maybe it's
      time for them to die ?
      
      It also implements remote operations by defining a very simple
      protocol: it first sends the name of the specific uploader followed
      the repository name (git-upload-tar git://example.org/repo.git).
      Then it sends options. It's done by sending a sequence of one
      argument per packet, with prefix "argument ", followed by a flush.
      
      The remote protocol is implemented in "git-archive.c" for client
      side and is triggered by "--remote=<repo>" option. For example,
      to fetch a TAR archive in a remote repo, you can issue:
      
      $ git archive --format=tar --remote=git://xxx/yyy/zzz.git HEAD
      
      We choose to not make a new command "git-fetch-archive" for example,
      avoind one more GIT command which should be nice for users (less
      commands to remember, keeps existing --remote option).
      Signed-off-by: NFranck Bui-Huu <vagabon.xyz@gmail.com>
      Acked-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4df096a5
  12. 09 9月, 2006 2 次提交
  13. 07 9月, 2006 1 次提交
  14. 05 9月, 2006 1 次提交
  15. 03 9月, 2006 1 次提交
    • C
      Trace into a file or an open fd and refactor tracing code. · 6ce4e61f
      Christian Couder 提交于
      If GIT_TRACE is set to an absolute path (starting with a
      '/' character), we interpret this as a file path and we
      trace into it.
      
      Also if GIT_TRACE is set to an integer value greater than
      1 and lower than 10, we interpret this as an open fd value
      and we trace into it.
      
      Note that this behavior is not compatible with the
      previous one.
      
      We also trace whole messages using one write(2) call to
      make sure messages from processes do net get mixed up in
      the middle.
      
      This patch makes it possible to get trace information when
      running "make test".
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6ce4e61f
  16. 01 9月, 2006 1 次提交
  17. 30 8月, 2006 1 次提交
  18. 27 8月, 2006 1 次提交
    • R
      Add git-zip-tree · e4fbbfe9
      Rene Scharfe 提交于
      In the Windows world ZIP files are better supported than tar files.
      Windows even includes built-in support for ZIP files nowadays.
      
      git-zip-tree is similar to git-tar-tree; it creates ZIP files out of
      git trees.  It stores the commit ID (if available) in a ZIP file comment
      which can be extracted by unzip.
      
      There's still quite some room for improvement: this initial version
      supports no symlinks, calls write() way too often (three times per file)
      and there is no unit test.
      
      [jc: with a minor typefix to avoid void* arithmetic]
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e4fbbfe9
  19. 22 8月, 2006 1 次提交
    • R
      Add write_or_die(), a helper function · 7230e6d0
      Rene Scharfe 提交于
      The little helper write_or_die() won't come back with bad news about
      full disks or broken pipes.  It either succeeds or terminates the
      program, making additional error handling unnecessary.
      
      This patch adds the new function and uses it to replace two similar
      ones (the one in tar-tree originally has been copied from cat-file
      btw.).  I chose to add the fd parameter which both lacked to make
      write_or_die() just as flexible as write() and thus suitable for
      lib-ification.
      
      There is a regression: error messages emitted by this function don't
      show the program name, while the replaced two functions did.  That's
      acceptable, I think; a lot of other functions do the same.
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      7230e6d0
  20. 16 8月, 2006 2 次提交
  21. 15 8月, 2006 4 次提交
  22. 11 8月, 2006 1 次提交
  23. 09 8月, 2006 2 次提交
  24. 06 8月, 2006 1 次提交
  25. 05 8月, 2006 1 次提交
  26. 04 8月, 2006 4 次提交