1. 26 11月, 2006 8 次提交
  2. 25 11月, 2006 9 次提交
  3. 24 11月, 2006 18 次提交
    • J
      Merge branch 'jn/web' · 634b8d05
      Junio C Hamano 提交于
      * jn/web:
        gitweb: Finish restoring "blob" links in git_difftree_body
        gitweb: Refactor feed generation, make output prettier, add Atom feed
        gitweb: Add an option to href() to return full URL
        gitweb: New improved formatting of chunk header in diff
        gitweb: Default to $hash_base or HEAD for $hash in "commit" and "commitdiff"
        gitweb: Buffer diff header to deal with split patches + git_patchset_body refactoring
        gitweb: Protect against possible warning in git_commitdiff
      634b8d05
    • J
      Merge branch 'pb/diffroot' · c7757948
      Junio C Hamano 提交于
      * pb/diffroot:
        config option log.showroot to show the diff of root commits
      c7757948
    • J
      Merge branch 'jc/pack-heuristics' · 9919b5ea
      Junio C Hamano 提交于
      * jc/pack-heuristics:
        pack-objects: tweak "do not even attempt delta" heuristics
      9919b5ea
    • J
      Merge branch 'jc/numstat' · 54acddce
      Junio C Hamano 提交于
      * jc/numstat:
        apply --numstat: mark binary diffstat with - -, not 0 0
      54acddce
    • J
      Merge branch 'ap/branch-ref-display' · 5b6be4cc
      Junio C Hamano 提交于
      * ap/branch-ref-display:
        Add support to git-branch to show local and remote branches
      5b6be4cc
    • J
      Merge branch 'ap/prune' · f3307dee
      Junio C Hamano 提交于
      * ap/prune:
        Typefix builtin-prune.c::prune_object()
        Improve git-prune -n output
      f3307dee
    • J
      Typefix builtin-prune.c::prune_object() · ac1471b3
      Junio C Hamano 提交于
      It passed (const char*) to a function that took a (char *); the
      buffer itself was of course writable, so pass the buffer itself.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ac1471b3
    • P
      config option log.showroot to show the diff of root commits · 0f03ca94
      Peter Baumann 提交于
      This allows one to see a root commit as a diff in commands like git-log,
      git-show and git-whatchanged.
      Signed-off-by: NPeter Baumann <Peter.B.Baumannn@stud.informatik.uni-erlangen.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0f03ca94
    • J
      Merge branch 'jc/upload-pack' · 3fbe2d54
      Junio C Hamano 提交于
      * jc/upload-pack:
        upload-pack: stop the other side when they have more roots than we do.
      3fbe2d54
    • E
      git-svn: handle authentication without relying on cached tokens on disk · 30d055aa
      Eric Wong 提交于
      This is mostly gleaned off SVN::Mirror, with added support for
      --no-auth-cache and --config-dir.
      
      Even with this patch, git-svn does not yet support repositories
      where the user only has partial read permissions.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      30d055aa
    • I
      git-cvsimport: add support for CVS pserver method HTTP/1.x proxying · 73bcf533
      Iñaki Arenaza 提交于
      This patch adds support for 'proxy' and 'proxyport' connection options
      when using the pserver method for the CVS Root.
      
      It has been tested with a Squid 2.5.x proxy server.
      
      Quoting from the CVS info manual:
      
           The `gserver' and `pserver' connection methods all accept optional
        method options, specified as part of the METHOD string, like so:
      
             :METHOD[;OPTION=ARG...]:
      
           Currently, the only two valid connection options are `proxy', which
        takes a hostname as an argument, and `proxyport', which takes a port
        number as an argument.  These options can be used to connect via an HTTP
        tunnel style web proxy.  For example, to connect pserver via a web proxy
        at www.myproxy.net and port 8000, you would use a method of:
      
             :pserver;proxy=www.myproxy.net;proxyport=8000:
      
           *NOTE: The rest of the connection string is required to connect to
        the server as noted in the upcoming sections on password authentication,
        gserver and kserver.  The example above would only modify the METHOD
        portion of the repository name.*
      
           PROXY must be supplied to connect to a CVS server via a proxy
        server, but PROXYPORT will default to port 8080 if not supplied.
        PROXYPORT may also be set via the CVS_PROXY_PORT environment variable.
      Signed-off-by: NIñaki Arenaza <iarenuno@eteo.mondragon.edu>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      73bcf533
    • P
      Make git-clone --use-separate-remote the default · 71821351
      Petr Baudis 提交于
      We've talked about this for quite some time on the list, and it
      is a sane thing to do for a repository with an associcated
      working tree.
      
      For somebody who wants to use the traditional layout, there is a
      backward compatibility option --use-immingled-remote, but it is
      expected to be removed before the next major release.
      Signed-off-by: NPetr Baudis <pasky@suse.cz>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      71821351
    • J
      refs outside refs/{heads,tags} match less strongly. · 29561ad0
      Junio C Hamano 提交于
      This changes the refname matching logic used to decide which ref
      is updated with git-send-pack.  We used to error out when
      pushing 'master' when the other end has both 'master' branch and
      a tracking branch 'remotes/$name/master' but with this, 'master'
      matches only 'refs/heads/master' when both and no other 'master'
      exist.
      
      Pushing 'foo' when both heads/foo and tags/foo exist at the
      remote end is still considered an error and you would need to
      disambiguate between them by being more explicit.
      
      When neither heads/foo nor tags/foo exists at the remote,
      pushing 'foo' when there is only remotes/origin/foo is not
      ambiguous, while it still is ambiguous when there are more than
      one such weaker match (remotes/origin/foo and remotes/alt/foo,
      for example).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      29561ad0
    • A
      Increase length of function name buffer · f73da29f
      Andy Parkins 提交于
      In xemit.c:xdl_emit_diff() a buffer for showing the function name as
      commentary is allocated; this buffer was 40 characters.  This is a bit
      small; particularly for C++ function names where there is often an
      identical prefix (like void LongNamespace::LongClassName) on multiple
      functions, which makes the context the same everywhere.  In other words
      the context is useless.  This patch increases that buffer to 80
      characters - which may still not be enough, but is better
      Signed-off-by: NAndy Parkins <andyparkins@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f73da29f
    • E
      git-svn: preserve uncommitted changes after dcommit · 4769489a
      Eric Wong 提交于
      Using dcommit could cause the user to lose uncommitted changes
      during the reset --hard operation, so change it to reset --mixed.
      
      If dcommit chooses the rebase path, then git-rebase will already
      error out when local changes are made.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4769489a
    • E
      git-svn: correctly handle revision 0 in SVN repositories · e70dc780
      Eric Wong 提交于
      some SVN repositories have a revision 0 (committed by no author
      and no date) when created; so when we need to ensure that we
      check any revision variables are defined, and not just
      non-zero.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e70dc780
    • E
      git-svn: error out from dcommit on a parent-less commit · 48d044b5
      Eric Wong 提交于
      dcommit would unconditionally append "~1" to a commit in order
      to generate a diff.  Now we generate a meaningful error message
      if we try to generate an impossible diff.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      48d044b5
    • R
      archive-zip: don't use sizeof(struct ...) · 0ea865ce
      René Scharfe 提交于
      We can't rely on sizeof(struct zip_*) returning the sum of
      all struct members.  At least on ARM padding is added at the
      end, as Gerrit Pape reported.  This fixes the problem but
      still lets the compiler do the summing by introducing
      explicit padding at the end of the structs and then taking
      its offset as the combined size of the preceding members.
      
      As Junio correctly notes, the _end[] marker array's size
      must be greater than zero for compatibility with compilers
      other than gcc.  The space wasted by the markers can safely
      be neglected because we only have one instance of each
      struct, i.e. in sum 3 wasted bytes on i386, and 0 on ARM. :)
      
      We still rely on the compiler to not add padding between the
      struct members, but that's reasonable given that all of them
      are unsigned char arrays.
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0ea865ce
  4. 23 11月, 2006 3 次提交
  5. 22 11月, 2006 2 次提交
    • A
      Add support to git-branch to show local and remote branches · bfcc9214
      Andy Parkins 提交于
      Instead of storing a list of refnames in append_ref, a list of
      structures is created.  Each of these stores the refname and a
      symbolic constant representing its type.
      
      The creation of the list is filtered based on a command line
      switch; no switch means "local branches only", "-r" means "remote
      branches only" (as they always did); but now "-a" means "local
      branches or remote branches".
      
      As a side effect, the list is now not global, but allocated in
      print_ref_list() where it used.
      
      Also a memory leak is plugged, the memory allocated during the
      list creation was never freed.
      
      It lays a groundwork to also display tags, but the command being
      'git branch' it is not currently used.
      Signed-off-by: NAndy Parkins <andyparkins@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      bfcc9214
    • A
      Improve git-prune -n output · 21f88ac8
      Andy Parkins 提交于
      prune_object() in show_only mode would previously just show the path to the
      object that would be deleted.  The path the object is stored in shouldn't be
      shown to users, they only know about sha1 identifiers so show that instead.
      
      Further, the sha1 alone isn't that useful for examining what is going to be
      deleted.  This patch also adds the object type to the output, which makes it
      easy to pick out, say, the commits and use git-show to display them.
      Signed-off-by: NAndy Parkins <andyparkins@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      21f88ac8