Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 8, 2008
  1. @spearce

    Merge branch 'maint'

    spearce authored
    * maint:
      Do not use errno when pread() returns 0
      git init: --bare/--shared overrides system/global config
      git-push.txt: Describe --repo option in more detail
      git rm: refresh index before up-to-date check
      Fix a few typos in relnotes
Commits on Oct 16, 2007
  1. @spearce

    Fix 'push --all branch...' error handling

    spearce authored
    The builtin-fetch topic changed push's handling of --all to setting
    the new TRANSPORT_PUSH_ALL flag before starting the push subroutine
    for the given transport.  Unfortunately not all references within
    builtin-push were changed to test this flag therefore allowing push
    to incorrectly accept refspecs and --all.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @spearce

    Merge branch 'master' into db/fetch-pack

    spearce authored
    There's a number of tricky conflicts between master and
    this topic right now due to the rewrite of builtin-push.
    Junio must have handled these via rerere; I'd rather not
    deal with them again so I'm pre-merging master into the
    topic.  Besides this topic somehow started to depend on
    the strbuf series that was in next, but is now in master.
    It no longer compiles on its own without the strbuf API.
    
    * master: (184 commits)
      Whip post 1.5.3.4 maintenance series into shape.
      Minor usage update in setgitperms.perl
      manual: use 'URL' instead of 'url'.
      manual: add some markup.
      manual: Fix example finding commits referencing given content.
      Fix wording in push definition.
      Fix some typos, punctuation, missing words, minor markup.
      manual: Fix or remove em dashes.
      Add a --dry-run option to git-push.
      Add a --dry-run option to git-send-pack.
      Fix in-place editing functions in convert.c
      instaweb: support for Ruby's WEBrick server
      instaweb: allow for use of auto-generated scripts
      Add 'git-p4 commit' as an alias for 'git-p4 submit'
      hg-to-git speedup through selectable repack intervals
      git-svn: respect Subversion's [auth] section configuration values
      gtksourceview2 support for gitview
      fix contrib/hooks/post-receive-email hooks.recipients error message
      Support cvs via git-shell
      rebase -i: use diff plumbing instead of porcelain
      ...
    
    Conflicts:
    
    	Makefile
    	builtin-push.c
    	rsh.c
Commits on Sep 19, 2007
  1. @spearce

    Rename remote.uri to remote.url within remote handling internals

    spearce authored committed
    Anyplace we talk about the address of a remote repository we always
    refer to it as a URL, especially in the configuration file and
    .git/remotes where we call it "remote.$n.url" or start the first
    line with "URL:".  Calling this value a uri within the internal C
    code just doesn't jive well with our commonly accepted terms.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @spearce

    Remove unnecessary 'fetch' argument from transport_get API

    spearce authored committed
    We don't actually need to know at the time of transport_get if the
    caller wants to fetch, push, or do both on the returned object.
    It is easier to just delay the initialization of the HTTP walker
    until we know we will need it by providing a CURL specific fetch
    function in the curl_transport that makes sure the walker instance
    is initialized before use.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Sep 10, 2007
  1. @spearce

    Make --no-thin the default in git-push to save server resources

    spearce authored committed
    1) pushes happen less often than fetches, so the bandwidth saving is
       much less visible in that case overall.
    
    2) thin packs have to be complemented with missing delta bases to be
       valid, so many received thin packs will take more disk space.
    
    3) the bother of repacking should be distributed amongst "clients"
       i.e. fetchers and pushers as much as possible, and not the server
       being fetched or pushed, to keep disk and CPU usage low on the
       server.
    
    This is why a fetch should get thin packs but a push should not.
    
    Both Nico and I have been assuming that --no-thin was the default
    behavior of git-push ever since Nico introduced --fix-thin into the
    index-pack process, which allowed fetch and receive-pack to avoid
    exploding packfiles received during transfer.  This patch finally
    makes it so.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Mar 13, 2007
  1. @spearce

    Use RUN_GIT_CMD to run push backends

    spearce authored Junio C Hamano committed
    If we hand run_command RUN_GIT_CMD rather than 0 it will use
    the execv_git_cmd path rather than execvp at the OS level.
    This is typically the preferred way of running another Git
    utility.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Mar 12, 2007
  1. @spearce

    Remove unused run_command variants

    spearce authored Junio C Hamano committed
    We don't actually use these va_list based variants of run_command
    anymore.  I'm removing them before I make further improvements.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Dec 31, 2006
  1. @spearce

    Remove unnecessary argc parameter from run_command_v.

    spearce authored Junio C Hamano committed
    The argc parameter is never used by the run_command_v family of
    functions.  Instead they require that the passed argv[] be NULL
    terminated so they can rely on the operating system's execvp
    function to correctly pass the arguments to the new process.
    
    Making the caller pass the argc is just confusing, as the caller
    could be mislead into believing that the argc might take precendece
    over the argv, or that the argv does not need to be NULL terminated.
    So goodbye argc.  Don't come back.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Commits on Sep 2, 2006
  1. @spearce

    Replace uses of strdup with xstrdup.

    spearce authored Junio C Hamano committed
    Like xmalloc and xrealloc xstrdup dies with a useful message if
    the native strdup() implementation returns NULL rather than a
    valid pointer.
    
    I just tried to use xstrdup in new code and found it to be missing.
    However I expected it to be present as xmalloc and xrealloc are
    already commonly used throughout the code.
    
    [jc: removed the part that deals with last_XXX, which I am
     finding more and more dubious these days.]
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.