Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 21, 2011
  1. @gitster

    Merge branch 'jc/unseekable-bundle'

    gitster authored
    * jc/unseekable-bundle:
      bundle: add parse_bundle_header() helper function
      bundle: allowing to read from an unseekable fd
    
    Conflicts:
    	transport.c
Commits on Oct 13, 2011
  1. @gitster

    bundle: add parse_bundle_header() helper function

    gitster authored
    Move most of the code from read_bundle_header() to parse_bundle_header()
    that takes a file descriptor that is already opened for reading, and make
    the former responsible only for opening the file and noticing errors.
    
    As a logical consequence of this, is_bundle() helper function can be
    implemented as a non-complaining variant of read_bundle_header() that
    does not return an open file descriptor, and can be used to tighten
    the check used to decide the use of bundle transport in transport_get()
    function.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Sep 19, 2011
  1. @gitster

    Teach progress eye-candy to fetch_refs_from_bundle()

    gitster authored
    With the usual "git" transport, a large-ish transfer with "git fetch" and
    "git pull" give progress eye-candy to avoid boring users.  However, not
    when they are reading from a bundle. I.e.
    
        $ git pull ../git-bundle.bndl master
    
    This teaches bundle.c:unbundle() to give "-v" option to index-pack and
    tell it to give progress bar when transport decides it is necessary.
    
    The operation in the other direction, "git bundle create", could also
    learn to honor --quiet but that is a separate issue.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Sep 19, 2007
  1. @dscho @gitster

    Move bundle specific stuff into bundle.[ch]

    dscho authored gitster committed
    The transport specific stuff was moved into libgit.a, and the
    bundle specific stuff will not be left behind.
    
    This is a big code move, with one exception: the function
    unbundle() no longer outputs the list of refs.  You have to call
    list_bundle_refs() yourself for that.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.