1. 04 Dec, 2014 1 commit
    • Jeff King's avatar
      credential: let helpers tell us to quit · 59b38652
      Jeff King authored
      When we are trying to fill a credential, we loop over the
      set of defined credential-helpers, then fall back to running
      askpass, and then finally prompt on the terminal. Helpers
      which cannot find a credential are free to tell us nothing,
      but they cannot currently ask us to stop prompting.
      
      This patch lets them provide a "quit" attribute, which asks
      us to stop the process entirely (avoiding running more
      helpers, as well as the askpass/terminal prompt).
      
      This has a few possible uses:
      
        1. A helper which prompts the user itself (e.g., in a
           dialog) can provide a "cancel" button to the user to
           stop further prompts.
      
        2. Some helpers may know that prompting cannot possibly
           work. For example, if their role is to broker a ticket
           from an external auth system and that auth system
           cannot be contacted, there is no point in continuing
           (we need a ticket to authenticate, and the user cannot
           provide one by typing it in).
      Signed-off-by: default avatarJeff King <peff@peff.net>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
      59b38652
  2. 12 Nov, 2014 1 commit
  3. 11 Nov, 2014 1 commit
  4. 10 Nov, 2014 2 commits
  5. 06 Nov, 2014 1 commit
  6. 04 Nov, 2014 1 commit
  7. 29 Oct, 2014 6 commits
  8. 19 Oct, 2014 1 commit
    • Jeff King's avatar
      pack-objects: turn off bitmaps when we split packs · 21134714
      Jeff King authored
      If a pack.packSizeLimit is set, we may split the pack data
      across multiple packfiles. This means we cannot generate
      .bitmap files, as they require that all of the reachable
      objects are in the same pack. We check that condition when
      we are generating the list of objects to pack (and disable
      bitmaps if we are not packing everything), but we forgot to
      update it when we notice that we needed to split (which
      doesn't happen until the actual write phase).
      
      The resulting bitmaps are quite bogus (they mention entries
      that do not exist in the pack!) and can cause a fetch or
      push to send insufficient objects.
      Signed-off-by: default avatarJeff King <peff@peff.net>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
      21134714
  9. 16 Oct, 2014 2 commits
  10. 08 Oct, 2014 1 commit
  11. 07 Oct, 2014 5 commits
  12. 01 Oct, 2014 3 commits
  13. 30 Sep, 2014 8 commits
  14. 28 Sep, 2014 1 commit
  15. 25 Sep, 2014 3 commits
  16. 22 Sep, 2014 1 commit
  17. 19 Sep, 2014 2 commits