1. 13 Nov, 2012 1 commit
  2. 06 Nov, 2012 3 commits
  3. 01 Nov, 2012 2 commits
  4. 26 Oct, 2012 1 commit
  5. 20 Oct, 2012 1 commit
  6. 15 Oct, 2012 1 commit
  7. 10 Oct, 2012 1 commit
    • http: don't discard the HEAD ref · aeba5e17
      The fix for fetching from empty repositories (22935b06 protocol:
      don't store flushes; 2012-10-07) forgot to take into account the
      deletion of the flush pkt in the HTTP transport. As a result, the HEAD
      ref advertisement where we detect the remote's capabilities was
      deleted instead. Fix this.
      Carlos Martín Nieto committed
  8. 20 Sep, 2012 1 commit
  9. 13 Sep, 2012 1 commit
  10. 14 Sep, 2012 1 commit
  11. 25 Aug, 2012 1 commit
  12. 23 Aug, 2012 1 commit
  13. 04 Aug, 2012 1 commit
    • Update iterators for consistency across library · 5dca2010
      This updates all the `foreach()` type functions across the library
      that take callbacks from the user to have a consistent behavior.
      The rules are:
      
      * A callback terminates the loop by returning any non-zero value
      * Once the callback returns non-zero, it will not be called again
        (i.e. the loop stops all iteration regardless of state)
      * If the callback returns non-zero, the parent fn returns GIT_EUSER
      * Although the parent returns GIT_EUSER, no error will be set in
        the library and `giterr_last()` will return NULL if called.
      
      This commit makes those changes across the library and adds tests
      for most of the iteration APIs to make sure that they follow the
      above rules.
      Russell Belfer committed
  14. 30 Jul, 2012 4 commits
  15. 28 Jun, 2012 1 commit
  16. 05 Jun, 2012 1 commit
  17. 02 Jun, 2012 1 commit
  18. 26 May, 2012 1 commit
  19. 19 May, 2012 3 commits
  20. 17 May, 2012 2 commits
  21. 05 May, 2012 1 commit
    • Fix gitno_connect() error handling on Windows · b4b96d56
      gitno_connect() can return an error or socket, which is fine on most
      platforms where sockets are file descriptors (signed int), but on Windows,
      SOCKET is an unsigned type, which is problematic when we are trying to
      test if the socket was actually a negative error code.
      
      This fix seperates the error code and socket in gitno_connect(), and fixes
      the error handling in do_connect() functions to compensate. It appears
      that git_connect() and the git-transport do_connect() functions had bugs
      in the non-windows cases too (leaking sockets, and not properly reporting
      connection error, respectively) so I went ahead and fixed those too.
      Scott J. Goldman committed
  22. 03 May, 2012 1 commit
  23. 30 Apr, 2012 2 commits
  24. 25 Apr, 2012 2 commits
  25. 17 Apr, 2012 1 commit
  26. 11 Apr, 2012 1 commit
  27. 06 Mar, 2012 1 commit
    • error-handling: Repository · cb8a7961
      This also includes droping `git_buf_lasterror` because it makes no sense
      in the new system. Note that in most of the places were it has been
      dropped, the code needs cleanup. I.e. GIT_ENOMEM is going away, so
      instead it should return a generic `-1` and obviously not throw
      anything.
      Vicent Martí committed
  28. 13 Feb, 2012 1 commit
  29. 19 Jan, 2012 1 commit