1. 22 11月, 2005 14 次提交
    • A
      Introduce $(ALL_PROGRAMS) for 'all:' and 'install:' to operate on. · d6ebd259
      Andreas Ericsson 提交于
      Remove $(SIMPLE_PROGRAMS) from $(PROGRAMS) so buildrules don't have
      to be overridden.
      
      Put $(SCRIPTS) with the other target-macros so it doesn't get lonely.
      Signed-off-by: NAndreas Ericsson <ae@op5.se>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      d6ebd259
    • H
      rename/copy score parsing updates. · 1b1480ff
      H. Peter Anvin 提交于
      Better variant, which handles stuff like "4.5%" and rejects
      "192.168.0.1".  Additionally, make sure numbers are unsigned (I'm making
      them unsigned long just for the hell of it), to make sure that
      artificial wraparound scenarios don't cause harm.
      
      	-hpa
      
      [jc: with this, -M100 changes its meaning back to 10%.  People
      wanting to say "pure renames only" should now say -M100% or
      -M1.0; sounds a bit like an earthquake, but arguably things are
      more consistent this way ;-)]
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1b1480ff
    • P
      git-daemon not listening when compiled with -DNO_IPV6 · f35230fb
      Paul Serice 提交于
      git-daemon was not listening when compiled with -DNO_IPV6.
      socksetup() was not returning socket count when compiled with -DNO_IPV6.
      Signed-off-by: NPaul Serice <paul@serice.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f35230fb
    • L
      git-repack: Properly abort in corrupt repository · ef07618f
      Linus Torvalds 提交于
      In a corrupt repository, git-repack produces a pack that does not
      contain needed objects without complaining, and the result of this
      combined with -d flag can be very painful -- e.g. a lossage of one
      tree object can lead to lossage of blobs reachable only through that
      tree.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ef07618f
    • J
      Allow hierarchical section names · b17e659d
      Johannes Schindelin 提交于
      A .git/config like follows becomes valid with this patch:
      
      	[remote.junio]
      		url = git://git.kernel.org/pub/scm/git/git.git
      		pull = master:junio todo:todo +pu:pu
      
      	[remote.ibook]
      		url = ibook:git/
      		pull = master:ibook
      		push = master:quetzal
      
      (This patch only does the ini file thing, git-fetch and friends still
      ignore these values).
      Signed-off-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b17e659d
    • J
      git-config-set: Properly terminate strings with '\0' · 3dd94e3b
      Johannes Schindelin 提交于
      When a lowercase version of the key was generated, it was not
      terminated. Strangely enough, it worked on Linux and macosx anyway.
      Just cygwin barfed.
      Signed-off-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      3dd94e3b
    • J
      git-proxy updates. · e814bc4d
      Junio C Hamano 提交于
      This builds on top of the git-proxy mechanism Paul Collins did,
      and updates its configuration mechanism.
      
       * GIT_PROXY_COMMAND environment variable is used as the
         catch-all fallback, as in the original.  This has not
         changed.
      
       * Renames proxy configuration variables to core.gitproxy; this
         has become a multi-value variable per list discussion, most
         notably from suggestion by Linus.
      
      	[core]
      	;# matches www.kernel.org as well
      	gitproxy = netcatter for kernel.org
      	gitproxy = netscatter for sample.xz
      	gitproxy = none for mydomain.xz
      	gitproxy = netcatter-default
      
         The values are command names, followed by an optional " for "
         and domainname; the first tail-match of the domainname
         determines which proxy command is used.  An entry without "
         for " matches any domain and can be used as the default.
      
         The command name "none" is special -- it tells the mechanism
         not to use any proxy command and use the native git://
         connection.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e814bc4d
    • P
      proxy-command support for git:// · f8014776
      Paul Collins 提交于
      Here is an updated patch that first looks for GIT_PROXY_COMMAND
      in the environment and then git.proxycommand in the repository's
      configuration file.  I have left the calling convention the same
      argv[1] is the host and argv[2] is the port.
      
      I've taken the hostname parsing verbatim from git_tcp_connect(),
      so it should now support an explicit port number and whatever
      that business with the square brackets is.  (Should I move this
      to a helper function?)
      
      Regarding internal vs. external hosts, the proxy command can
      simply run netcat locally to internal hosts, so perhaps that is
      sufficient.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f8014776
    • J
      daemon: further tweaks. · ce335fe0
      Junio C Hamano 提交于
       - Do validation only on canonicalized paths
       - Run upload-pack with "." as repository argument
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ce335fe0
    • A
      git-daemon support for user-relative paths. · 4dbd1352
      Andreas Ericsson 提交于
      Dropped a fair amount of reundant code in favour of the library code
      in path.c
      
      Added option --strict-paths with documentation, with backwards
      compatibility for whitelist entries with symlinks.
      
      Everything that worked earlier still works insofar as I have
      remembered testing it.
      Signed-off-by: NAndreas Ericsson <ae@op5.se>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4dbd1352
    • J
      tutorial: setting up a tree for subsystem maintainers · aa7f412a
      Junio C Hamano 提交于
      The "copying over packs" step is to prevent the objects
      available in upstream repository to get expanted in the
      subsystem maintainer tree, and is still valid if the upstream
      repository do not live on the same machine.  But if they are on
      the same machine using objects/info/alternates is cleaner.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      aa7f412a
    • J
      rename detection with -M100 means "exact renames only". · 9f70b806
      Junio C Hamano 提交于
      When the user is interested in pure renames, there is no point
      doing the similarity scores.  This changes the score argument
      parsing to special case -M100 (otherwise, it is a precision
      scaled value 0 <= v < 1 and would mean 0.1, not 1.0 --- if you
      do mean 0.1, you can say -M1), and optimizes the diffcore_rename
      transformation to only look at pure renames in that case.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9f70b806
    • J
      format-patch: fix two-argument special case, and make it easier to pick single commits · 88b5a748
      Junio C Hamano 提交于
      Luben Tuikov noticed that sometimes being able to say
      'git-format-patch <commit>' to format the change a single commit
      introduces relative to its parent is handy.
      
      This patch does not support that directly, but it makes sense to
      interpret a single argument "rev" to mean "rev^1..rev".
      
      With this, the backward compatibility syntaxes still apply:
      
       - "format-patch master" means "format-patch master..HEAD"
       - "format-patch origin master" means "format-patch origin..master"
       - "format-patch origin.." means "format-patch origin..HEAD"
      
      But "format-patch a b c d e" formats the changes these five
      commits introduce relative to their respective parents.  Earlier
      it rejected these arguments not in "one..two" form.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      88b5a748
    • J
      Fix hooks/update template. · 60abce3c
      Junio C Hamano 提交于
      Make the example address RFC2606 (aka BCP0032) compliant.  Also
      fix a couple of shell script errors.
      
      Noted and fixed by Matthew Wilcox and Andreas Ericsson.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      60abce3c
  2. 21 11月, 2005 9 次提交
  3. 20 11月, 2005 17 次提交