1. 24 Jan, 2019 1 commit
  2. 12 Nov, 2018 1 commit
  3. 02 May, 2017 1 commit
  4. 13 Oct, 2011 1 commit
    • Junio C Hamano's avatar
      bundle: add parse_bundle_header() helper function · 2727b71f
      Junio C Hamano 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: 's avatarJunio C Hamano <gitster@pobox.com>
      2727b71f
  5. 19 Sep, 2011 1 commit
    • Junio C Hamano's avatar
      Teach progress eye-candy to fetch_refs_from_bundle() · be042aff
      Junio C Hamano 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: 's avatarJunio C Hamano <gitster@pobox.com>
      be042aff
  6. 19 Sep, 2007 1 commit